predict_glmmLasso | R Documentation |
glmmLasso()
predicts on newdata objects from a glmmLasso object.
predict_glmmLasso(
census,
m,
L1.x,
lasso.L2.x,
L2.unit,
L2.reg,
type = "response"
)
census |
Census data. A |
m |
A |
L1.x |
Individual-level covariates. A character vector containing the
column names of the individual-level variables in |
lasso.L2.x |
Lasso context-level covariates. A character vector
containing the column names of the context-level variables in
|
L2.unit |
Geographic unit. A character scalar containing the column
name of the geographic unit in |
L2.reg |
Geographic region. A character scalar containing the column
name of the geographic region in |
Returns a numeric vector of predictions from a glmmLasso()
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.