Description Usage Arguments Details
list_to_matrix
takes a list of scalars and possibly one
vector and returns a matrix. If the list contains only scalars, then
list_to_matrix
returns a matrix with one row. If the list contains a
vector, then list_to_matrix
returns a matrix with the number of rows
equal to the number of elements in the vector. This must be a named list and it
must contain only one vector and the rest be scalars.
1 |
list |
A named list with scalars and up to one vector. |
formula |
The model formula. |
Convert a list to a matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.