predict.lmgce {GCEstim} | R Documentation |
Predict method for lmgce
Linear Model Fits
Description
Predicted values based on a fitted model lmgce
object.
Usage
## S3 method for class 'lmgce'
predict(
object,
newdata,
interval = c("none", "confidence"),
type = c("response", "terms"),
level = 0.95,
terms = NULL,
na.action = na.pass,
...
)
Arguments
object |
Fitted |
newdata |
An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used. |
interval |
One of |
type |
One of |
level |
Tolerance/confidence level (0,1). |
terms |
if |
na.action |
function determining what should be done with missing values
in |
... |
additional arguments. |
Value
predict.lmgce
produces a vector of predictions.
Author(s)
Jorge Cabral, jorgecabral@ua.pt
Examples
res_gce_package <-
lmgce(y ~ .,
data = dataGCE,
boot.B = 50,
seed = 230676)
predict(res_gce_package, dataGCE.test)
[Package GCEstim version 0.1.0 Index]