Description Usage Arguments Details Value
View source: R/contrast_utils.R
The definition of containment follows from the SAS documentation on "The Four Types of Estimable Functions".
1  term_contain(term, factors, dataClasses, term_names)

term 
character; name of a model term and one of 
factors 
the result of 
dataClasses 
the result of

term_names 
the result of 
Containment is defined for two model terms, say, F1 and F2 as: F1 is contained in F2 (F2 contains F1) if
F1 and F2 involve the same continuous variables (if any)
F2 involve more factors than F1
All factors in F1 (if any) are part of F2
The intercept, though not really a model term, is defined by SAS to be contained in all factor terms, but it is not contained in any effect involving a continuous variable.
a logical vector indicating for each term in term_names
if
it contains term
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.