newMCResultAnalytical: MCResultAnalytical object constructor with matrix in wide...

View source: R/MCResultAnalyticalMethods.r

newMCResultAnalyticalR Documentation

MCResultAnalytical object constructor with matrix in wide format as input.

Description

MCResultAnalytical object constructor with matrix in wide format as input.

Usage

newMCResultAnalytical(
  wdata,
  para,
  xmean,
  sample.names = NULL,
  method.names = NULL,
  regmeth = "Unknown",
  cimeth = "analytical",
  error.ratio = error.ratio,
  alpha = 0.05,
  weight = rep(1, nrow(wdata))
)

Arguments

wdata

Measurement data in matrix format. First column reference method (x), second column comparator method (y).

para

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

xmean

Global (weighted) mean of x-values.

sample.names

Names of individual data points, e.g. barcodes of measured samples.

method.names

Names of reference and comparator 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 comparator method.

alpha

1 - significance level for confidence intervals.

weight

numeric vector specifying the weights used for each point

Value

MCResultAnalytical object containing regression results.


mcr documentation built on Oct. 11, 2023, 5:14 p.m.