ba_analysis | R Documentation |
Perform Bland-Altman analysis on a data frame
ba_analysis(df, x_var, y_var, regress_against = c("Y", "XY_mean"), ...)
df |
the data frame on which to operate |
x_var |
character. The column name of the X variable |
y_var |
character. The column name of the Y variable (criterion measure, if applicable) |
regress_against |
character. One of |
... |
optional arguments passed to |
A data frame that has various summaries (means, standard deviations,
and missing data details) plus mean bias (mean_bias
column) and
limits of agreement (lower_LOA
and upper_LOA
columns)
data(ex_data, package = "PAutilities") ba_analysis(ex_data, "Axis1", "Vector.Magnitude", "XY_mean") ba_analysis( ex_data, "Axis1", "Vector.Magnitude", "XY_mean", an_arbitrary_added_column = "Example of passing an extra column" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.