constructFactorialDtb: Construct a factorial data table (facDtb) A factorial data...

Description Usage Arguments Examples

View source: R/ExpandSumToZeroCoefs.R

Description

Construct a factorial data table (facDtb) A factorial data table (facDtb) is a data table of main effect factor levels and filler covariates (1.0) sufficient to cover the highest level of factors and covariate interactions. "True factors" are identified by name in an attribute. Non-true factors are filler covariates. This is often called one family at a time.

Usage

1
constructFactorialDtb(mainEffectsList)

Arguments

mainEffectsList

a main effects list as created by buildFamilyMainEffectsList() or a charvec of expanded coefficient names that can be made into one

Examples

1
2
3
4
5
6
7
expandedCoefs=c("C|b",  "C|d",  "V|a",  "V|i",
  "V|u",  "C|b:V|a",   "C|d:V|a",  "C|b:V|i",  "C|d:V|i",  "C|b:V|u",
   "C|d:V|u",  "C|b:F1", "C|d:F1",  "V|a:F2",  "V|i:F2",  "V|u:F2",
    "C|b:cond|1",  "C|d:cond|1","C|b:cond|2",  "C|d:cond|2",
     "C|b:cond|3",  "C|d:cond|3")
famwiseDtb=constructFactorialDtb(expandedCoefs)
print(str(famwiseDtb))

tnearey/bhmnl documentation built on Nov. 5, 2019, 10:55 a.m.