Learn R Programming

mcr (version 1.2.1)

MCResult.initialize: MCResult Object Initialization

Description

MCResult Object Initialization

Usage

MCResult.initialize(.Object, data = data.frame(X = NA, Y = NA),
  para = matrix(NA, ncol = 4, nrow = 2), mnames = c("unknown", "unknown"),
  regmeth = "unknown", cimeth = "unknown", error.ratio = 0,
  alpha = 0.05, weight = 1)

Arguments

.Object

object of class "MCResult"

data

measurement data in matrix format. First column reference method (x), second column test method (y).

para

regression parameters in matrix form. Rows: Intercept, Slope. Cols: EST, SE, LCI, UCI.

mnames

names of reference and test method.

regmeth

name of statistical method used for regression.

cimeth

name of statistical method used for computing confidence intervals.

error.ratio

ratio between standard deviation of reference and test method.

alpha

numeric value specifying the 100(1-alpha)% confidence level of confidence intervals (Default is 0.05).

weight

weights to be used for observations

Value

MCResult object with initialized parameter.