getMat.VCA: Transform list of VCA-object into VFP-matrix required for...

View source: R/utils.R

getMat.VCAR Documentation

Transform list of VCA-object into VFP-matrix required for fitting.

Description

Transform list of VCA-object into VFP-matrix required for fitting.

Usage

getMat.VCA(obj, vc = 1)

Arguments

obj

(list) of VCA-objects

vc

(integer, character) either an integer specifying a variance component or the name of a variance component; can also be a vector of integers specifying a continuous sequence of variance components always including 'error' (repeatability)

Author(s)

Andre Schuetzenmeister andre.schuetzenmeister@roche.com

Examples


library(VCA)
data(VCAdata1)
lst <- anovaVCA(y~(device+lot)/day/run, VCAdata1, by="sample")
getMat.VCA(lst)  # automatically selects 'total'
# pooled version of intermediate precision (error+run+day)
getMat.VCA(lst, 4:6)
# only repeatability ('error')
getMat.VCA(lst, "error")


VFP documentation built on Nov. 10, 2022, 5:12 p.m.

Related to getMat.VCA in VFP...