list_to_matrix: Convert a list to a matrix

Description Usage Arguments Details

Description

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.

Usage

1

Arguments

list

A named list with scalars and up to one vector.

formula

The model formula.

Details

Convert a list to a matrix


carlislerainey/separation documentation built on May 13, 2019, 12:45 p.m.