View source: R/blandr.statistics.formula.R
blandr.statistics.formula | R Documentation |
If data is supplied as a formula, the function interprets it and then passes it through to the main blandr.statistics function.
blandr.statistics.formula(formula, data = parent.frame(), ...)
formula |
A formula, to be eventually passed to the blandr.statistics function |
data |
A data frame |
... |
other arguments. |
This was initially packaged in the same file as the blandr.statistics function. Changes to R package checks made it easier to separate it out, but functionally it has not changed.
Deepankar Datta deepankar.datta@gmail.com
# Generates two random measurements
measurement1 <- rnorm(100)
measurement2 <- rnorm(100)
# Generates Bland-Altman statistics data of the two measurements using the formula interface
blandr.statistics.formula( measurement2 ~ measurement1 )
# Example with a real data set
blandr.statistics.formula( Method.B ~ Method.A, data = giavarina.2015 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.