| predict.nmfre | R Documentation |
Predicts the response from a fitted NMF-RE model. With newA supplied,
returns the fixed-effect prediction X\,\Theta\,A_{new} (new
units carry no estimated random effect U, so only the population mean
is predicted). Without newA, returns the in-sample BLUP fit
X(\Theta A + U) (object$XB.blup), matching fitted().
## S3 method for class 'nmfre'
predict(object, newA = NULL, ...)
object |
An object of class |
newA |
Optional covariate matrix (K x M) for new units. If |
... |
Not used. |
A matrix of predicted (P x M) values.
nmfre, fitted.nmf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.