blandr.data.preparation: Data preparation for method comparison analysis

Description Usage Arguments Value Author(s) Examples

View source: R/blandr.data.preparation.r

Description

Prepares the data and runs error checks before the calling function runs whatever method analysis mode is wants.

Usage

1
blandr.data.preparation(method1, method2, sig.level)

Arguments

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

Value

method.comparison A data frame of paired values. These have been data checked, and empty rows omitted, from the originally supplied data.

Author(s)

Deepankar Datta <deepankardatta@nhs.net>

Examples

1
2
3
4
5
6
7
# 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 )

deepankardatta/blandr documentation built on March 28, 2020, 7:55 a.m.