Description Usage Arguments Value
pglmm_predicted_values
calculates the predicted
values of Y; for the generalized linear mixed model (family %in%
c("binomial","poisson"), these values are in the transformed space.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | pglmm_predicted_values(
x,
cpp = TRUE,
gaussian.pred = c("nearest_node", "tip_rm"),
re.form = NULL,
type = c("link", "response"),
...
)
communityPGLMM.predicted.values(
x,
cpp = TRUE,
gaussian.pred = c("nearest_node", "tip_rm")
)
|
x |
A fitted model with class communityPGLMM. |
cpp |
Whether to use c++ code. Default is TRUE. |
gaussian.pred |
When family is gaussian, which type of prediction to calculate? Option nearest_node will predict values to the nearest node, which is same as lme4::predict or fitted. Option tip_rm will remove the point then predict the value of this point with remaining ones. |
re.form |
(formula, |
type |
character string - either |
... |
Optional additional parameters. None are used at present. |
A data frame with column Y_hat (predicted values accounting for both fixed and random terms).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.