Description Usage Arguments Details
linear returns an linear object.
1 |
x |
Name of object |
data |
vector (defaults to 0) |
A linear object corresponds with the most common type of summand in a linear-based model, namely one equal to a parameter a times the value of a covariate x. The summand has the following form:
a * x
In the case of a univariate model, a is a scalar. For multivariate models, a is a vector.
Specifying the linear object requires two data elements.
The first element, x,
is the name of the field associated with the covariate.
This name indicates how to identify the covariate in a table
of data.
The second element,
data,
is the parameter,
which can be a scalar or a vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.