Description Usage Arguments Value Examples
Least Squares Coefficients
1 |
data |
A matrix with longitudinal data, with a column named "time" containing the time (in arbitrary units) of the measure. lsq() will consider that the row names that share id are repeated measures at different times from the same individual. |
degree |
The degree of the polynomial to be fitted. |
orthog |
If true, use orthogonal polynomials. |
scale |
If true, divide each coefficient by its variance |
An object of class lsq containing the intercept and coefficients over time of for each variable and individual.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.