Description Usage Arguments Value
View source: R/predict.GEInfo.R
Output predicted response values for new observations.
1 2 |
object |
A fitted "GEInfo" model object for which prediction is desired. |
Enew |
Matrix of dimensions n_test x q for E variables at which predictions are to be made. |
Gnew |
Matrix of dimensions n_test x pfor G variables at which predictions are to be made. |
family |
Model type: one of ("gaussian", "binomial", "poisson"). |
... |
Other arguments. |
Return a vector of length n_test, representing the fitted response value. For family= “gaussian”, the fitted values are returned; for family = “binary”, the fitted probabilities are returned; for family = “poisson”, the fitted means are returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.