blandr.data.preparation {blandr}R Documentation

Data preparation for method comparison analysis

Description

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

Usage

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

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


[Package blandr version 0.5.1 Index]