lab.qcdata {ILS}R Documentation

Quality Control Data

Description

It creates a 'lab.qcdata' class object to perform the interlaboratory study. This object is used to plot ILS data and more.

Usage

lab.qcdata(
  data,
  var.index = 1,
  replicate.index = 2,
  material.index = 3,
  laboratory.index = 4,
  data.name = NULL
)

Arguments

data

A matrix or data-frame that contains the data, replicate index, type of material, and the laboratory.

var.index

A scalar with the column number corresponding to the observed variable (the critical to quality variable). Alternativelly can be a string with the name of the quality variable.

replicate.index

A scalar with the column number corresponding to the index each replicate.

material.index

A scalar corresponding to the replicated number.

laboratory.index

A scalar that defines the index number of each laboratory.

data.name

A string specifying the name of the variable which appears on the plots. If name is not provided, it is taken from the object given as data.

Examples

library(ILS)
data(Glucose)
Glucose.qcdata <- lab.qcdata(Glucose)
str(Glucose.qcdata)
summary(Glucose.qcdata)

[Package ILS version 0.3 Index]