M | R Documentation |
Interprets a formula to generate the corresponding portion of a hypothesis matrix. See examples in Lfx
. Creates an 'M' object with methods to generate coefficients to estimate interaction terms and comparisons of factor levels.
M(x, ...)
## S3 method for class 'formula'
M(form, ..., keep.intercept = FALSE)
## S3 method for class 'factor'
M(x, base = NULL, ...)
## S3 method for class 'M'
M(x, ...)
## Default S3 method:
M(x, ...)
## S3 method for class 'M'
e1 * e2
## S3 method for class 'factor'
x < y
## S3 method for class 'factor'
x > y
## S3 method for class 'factor'
x <= y
## S3 method for class 'factor'
x >= y
... |
other arguments |
form |
formula |
keep.intercept |
(default: FALSE) if TRUE generate a column for the intercept term |
M(formula)
: formula method
M(factor)
: factor method
M(M)
: method for M object
M(default)
: default method
*
: multiplication of M objects
<
: '<' method for factors
>
: '>' method for factors
<=
: '<=' method for factors
>=
: '>=' method for factors
Lfx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.