Blog Post

cmstatr – Composite Material Statistics in R

Jul 22, 2020

Comtek has released an open-source R package for statistical analysis of composite material data

All materials have inherent variability in their strength. Composites are no different. In aircraft design, this variability is accounted for by using statistical methods to determine a lower tolerance bound on the material strength – in essence, calculating the lowest strength that most parts made with a material are likely to have. Doing this type of statistical analysis is a core part of what Comtek does when we test the materials used in our aircraft component designs.

Spreadsheets are available that use macros to do these computations. In the past, Comtek had used these spreadsheets, but more recently, Comtek has been using the R language to do more of our statistical analysis. The R language provides a much more powerful statistical environment compared to spreadsheets, and it allows us to streamline the way that we write statistical analysis reports.

Example output of analysis using the cmstatr package


Comtek has created a singular package containing all statistical methods that we routinely use so that our engineers can use them more effectively within the R framework. We called this package “cmstatr” as a shorthand for Composite Material Statistics in R. In order to be completely transparent with our customers and regulators, we’ve decided to make this package freely available and have released it under the AGPL version 3 license. This allows anyone to see how the statistical methods work and verify that they are correct. It also allows anyone to use this package - we hope that this will help the broader community bring more composite solutions to market.

More information about the software and documentation for the cmstatr package is available at the cmstatr website (https://www.cmstatr.net). The paper by Kloppenborg (2020) in the Journal of Open Source Software provides a brief introduction to the cmstatr package.

15 Feb, 2024
Pratt & Whitney Canada selects Comtek and parent Latecoere to design and build a major structural composite assembly
07 Dec, 2023
Congratulations to an Amazing Team for reaching this milestone!
04 Apr, 2023
Added repair capabilities for Japanese Operators
15 Mar, 2023
Comtek is now providing structural component repairs for the E-Jet family of airplanes
20 Dec, 2022
Every year, the team at Comtek raises funds to support local families in need through our annual Holiday Food Drive.
16 Nov, 2022
Comtek hosted senior leadership from Latecoere to celebrate the beginning of a new era following Latecoere's acquistion of Avcorp.
Show More
Share by: