cmstatr
cmstatr: An R Package for Statistical Analysis of Composite Material Data - Published in JOSS (2020)
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 9 DOI reference(s) in README -
✓Academic publication links
Links to: joss.theoj.org -
✓Committers with academic emails
1 of 7 committers (14.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (21.4%) to scientific vocabulary
Keywords
composite-material-data
cran
data
materials-science
r
statistical-analysis
statistics
Last synced: 6 months ago
·
JSON representation
Repository
An R Package for Statistical Analysis of Composite Material Data
Basic Info
- Host: GitHub
- Owner: cmstatr
- License: agpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://www.cmstatr.net/
- Size: 6.25 MB
Statistics
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 3
- Releases: 8
Topics
composite-material-data
cran
data
materials-science
r
statistical-analysis
statistics
Created over 9 years ago
· Last pushed 11 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/"
)
```
# cmstatr
[](https://github.com/cmstatr/cmstatr/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/cmstatr/cmstatr?branch=master)
[](https://doi.org/10.21105/joss.02265)
[](https://cran.r-project.org/package=cmstatr)
[](https://cran.r-project.org/package=cmstatr)
# What It Does
The `cmstatr` package provides functions for performing statistical analysis
of composite material data. The statistical methods implemented are those
described in [CMH-17-1G](https://www.cmh17.org/).
This package focuses on calculating basis values (lower tolerance
bounds) for material strength properties, as well as performing the
associated diagnostic tests. Functions are also provided for testing
for equivalency between alternate samples and the "qualification"
or "baseline" samples.
Additional details about the package are available in the paper by
Kloppenborg (2020,
[https://doi.org/10.21105/joss.02265](https://doi.org/10.21105/joss.02265)).
There is a companion package `cmstatrExt` which provides statistical methods
that are not included in CMH-17, but which may be of use to practitioners.
For more information, please see the
[`cmstatrExt` Website](https://cmstatrext.cmstatr.net).
# Installation
To install `cmstatr` from CRAN, simply run:
```r
install.packages("cmstatr")
```
If you want the latest development version, you can install it
from `github` using `devtools`. This will also install the dependencies
required to build the vignettes. Optionally, change the value of the
argument `ref` to install `cmstatr` from a different branch of the
repository.
```r
install.packages(c("devtools", "rmarkdown", "dplyr", "tidyr"))
devtools::install_github("cmstatr/cmstatr", build_vignettes = TRUE,
ref = "master",
build_opts = c("--no-resave-data", "--no-manual"))
```
# Usage
To compute a B-Basis value from an example data set packaged
with `cmstatr` you can do the following:
```{r message=FALSE}
library(dplyr)
library(cmstatr)
carbon.fabric.2 %>%
filter(test == "FC") %>%
filter(condition == "RTD") %>%
basis_normal(strength, batch)
```
For more examples of usage of the `cmstatr` package,
see the tutorial vignette, which can be
[viewed online](https://www.cmstatr.net/articles/cmstatr_Tutorial.html),
or can be loaded as follows, once the package is installed:
```r
vignette("cmstatr_Tutorial")
```
There is also a vignette showing some examples of the types of graphs
that are typically produced when analyzing composite materials.
You can view this
[vignette online](https://www.cmstatr.net/articles/cmstatr_Graphing.html),
or you can load this vignette with:
```r
vignette("cmstatr_Graphing")
```
# Philosophical Notes
This package expects
[`tidy data`](https://doi.org/10.18637/jss.v059.i10).
That is, individual observations should be in rows and variables in columns.
Where possible, this package uses general solutions. Look-up tables are avoided
wherever possible.
# Issues
If you've found a bug, please open an issue in this repository and
describe the bug. Please
include a [reproducible example](https://reprex.tidyverse.org/) of the bug.
If you're able to fix the bug, you can do so by submitting a pull request.
If your bug is related to a particular data set, sharing that data set will
help to fix the bug. If you cannot share the data set, please strip any
identifying information and optionally scale the data by an unspecified
factor so that the bug can be reproduced and diagnosed.
# Contributing
Contributions to `cmstatr` are always welcomed. For small changes (fixing typos
or improving the documentation), go ahead and submit a pull request. For more
significant changes, such as new features, please discuss the proposed change
in an issue first.
## Contribution Guidelines
- Please create a git branch for each pull request (PR)
- Before submitting a pull request, please make sure that `R CMD check`
passes with no errors, warnings or notes
- New and modified code should follow the style guide enforced by the
[`lintr`](https://cran.r-project.org/package=lintr)
package
- Document all exported functions using
[`roxygen2`](https://cran.r-project.org/package=roxygen2)
- Write tests using [`testthat`](https://cran.r-project.org/package=testthat).
If your contribution fixes a bug, then the test(s) that you add should fail
before your bug-fix patch is applied and should pass after the code is
patched.
- For changes that affect the user, add a bullet at the top of `NEWS.md` below
the current development version
## Development
Testing is performed using `testthat`. Edition 3 of that package is used and
parallel processing enabled. If you wish to use more than two CPUs, set the
environment variable `TESTTHAT_CPUS` to the number of CPUs that you want to
use. One way of doing this is to create the file `.Rprofile` with the following
contents. This file is ignored both by `git` and also in `.Rbuildingore`.
```r
Sys.setenv(TESTTHAT_CPUS = 8)
```
Owner
- Name: cmstatr
- Login: cmstatr
- Kind: organization
- Repositories: 1
- Profile: https://github.com/cmstatr
GitHub Events
Total
- Create event: 2
- Release event: 1
- Issues event: 9
- Watch event: 3
- Issue comment event: 4
- Push event: 16
- Pull request review event: 1
- Pull request event: 2
- Fork event: 1
Last Year
- Create event: 2
- Release event: 1
- Issues event: 9
- Watch event: 3
- Issue comment event: 4
- Push event: 16
- Pull request review event: 1
- Pull request event: 2
- Fork event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Stefan Kloppenborg | s****n@k****a | 394 |
| billycomtek | b****g@c****m | 3 |
| allyfras | 5****s | 2 |
| Ally Fraser | a****r@c****m | 2 |
| Michael Chirico | m****4@g****m | 1 |
| Jeffrey Borlik | j****k@g****m | 1 |
| Daniel S. Katz | d****z@i****g | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 36
- Total pull requests: 2
- Average time to close issues: 4 months
- Average time to close pull requests: 3 days
- Total issue authors: 4
- Total pull request authors: 2
- Average comments per issue: 1.06
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 8
- Pull requests: 0
- Average time to close issues: 14 days
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.75
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kloppen (33)
- usethedata (1)
- allyfras (1)
- lionel- (1)
Pull Request Authors
- MichaelChirico (1)
- jborlik (1)
- danielskatz (1)
Top Labels
Issue Labels
enhancement (5)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 668 last-month
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 8
- Total maintainers: 1
cran.r-project.org: cmstatr
Statistical Methods for Composite Material Data
- Homepage: https://www.cmstatr.net/
- Documentation: http://cran.r-project.org/web/packages/cmstatr/cmstatr.pdf
- License: AGPL-3
-
Latest release: 0.10.0
published over 1 year ago
Rankings
Forks count: 17.1%
Dependent repos count: 24.0%
Average: 25.2%
Stargazers count: 25.5%
Dependent packages count: 28.8%
Downloads: 30.9%
Maintainers (1)
Last synced:
6 months ago
Dependencies
.github/workflows/R-CMD-check-depends-only.yaml
actions
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/upload-artifact master composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
.github/workflows/R-CMD-check.yaml
actions
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/upload-artifact master composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
.github/workflows/pkgdown.yaml
actions
- actions/cache v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
.github/workflows/test-coverage.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v1 composite
DESCRIPTION
cran
- R >= 3.3 depends
- MASS * imports
- dplyr * imports
- generics * imports
- ggplot2 * imports
- kSamples * imports
- purrr * imports
- rlang * imports
- stats * imports
- tibble * imports
- knitr * suggests
- lintr * suggests
- rmarkdown * suggests
- spelling * suggests
- testthat * suggests
- tidyr * suggests
- vdiffr * suggests