drop.scope compute those terms that can be
individually added to or dropped from a model while respecting the
hierarchy of terms.
add.scope(terms1, terms2) drop.scope(terms1, terms2) factor.scope(factor, scope)
the terms or formula for the base model.
the terms or formula for the upper (
a list with one or both components
factor.scope is not intended to be called directly by users.
drop.scope a character vector of
terms labels. For
factor.scope, a list with components
add, character vectors of terms labels.
add.scope( ~ a + b + c + a:b, ~ (a + b + c)^3) #  "a:c" "b:c" drop.scope( ~ a + b + c + a:b) #  "c" "a:b"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.