View source: R/gg_blandAltman.r
blandr.data.preparation | R Documentation |
Prepares the data and runs error checks before the calling function runs whatever method analysis mode is wants.
blandr.data.preparation(method1, method2, sig.level)
method1 |
A list of numbers. |
method2 |
A list of numbers. |
sig.level |
Significance level. Is not optional in this function, as the calling package should have a default value to pass if needed |
method.comparison A data frame of paired values. These have been data checked, and empty rows omitted, from the originally supplied data.
Deepankar Datta deepankardatta@nhs.net
# Generates two random measurements measurement1 <- rnorm(100) measurement2 <- rnorm(100) # Calls the function - do note that this function was really # meant to be called from other functions and not a stand-alone funtion blandr.data.preparation(measurement1, measurement2, sig.level = 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.