blandr.statistics.formula: Bland-Altman statistics for R - submitting data as a formula

View source: R/blandr.statistics.formula.R

blandr.statistics.formulaR Documentation

Bland-Altman statistics for R - submitting data as a formula

Description

If data is supplied as a formula, the function interprets it and then passes it through to the main blandr.statistics function.

Usage

blandr.statistics.formula(formula, data = parent.frame(), ...)

Arguments

formula

A formula, to be eventually passed to the blandr.statistics function

data

A data frame

...

other arguments.

Note

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.

Author(s)

Deepankar Datta deepankar.datta@gmail.com

Examples


# 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 )


blandr documentation built on June 22, 2024, 10:58 a.m.