design_sail.Rd
Create design matrix used in sail
function
design_sail(x, e, expand, group, basis, nvars, vnames, center.x, center.e)
x | input matrix of dimension |
---|---|
e | exposure or environment vector. Must be a numeric vector. Factors must be converted to numeric. |
expand | should |
group | a vector of consecutive integers, starting from 1, describing
the grouping of the coefficients. Only required when |
basis | user defined basis expansion function. This function will be
applied to every column in |
nvars | number of variables |
vnames | variable names |
center.x | should the columns of |
center.e | should exposure variable |