Learn R Programming

blandr (version 0.6.0)

blandr.data.preparation: 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)

Value

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

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

Author

Deepankar Datta deepankar.datta@gmail.com

Examples

Run this code
# 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 )

Run the code above in your browser using DataLab