getMat.VCA {VFP}R 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")


[Package VFP version 1.4.1 Index]