Usage
gpfrpred(object,data=NULL,newtime=NULL,data.new = NULL,type=1,yregfd=NULL,
hyper.p=NULL, iuu=NULL, Cov=NULL,gamma=1)
Arguments
object
The result from training. Default to be NULL, if not NULL, other arguments (except for Data.new) will replaced by NULL.
data
The test data. Must have the format from wrap. For type 1 prediction. If `newtime' is missing, but type is 2, time in data will be used for type 2 prediction.
newtime
The new time point to predict. For type 2 prediction.
data.new
The test data for predict. For type 2 prediction.
type
Prediction types. See details below.
yregfd
Functional coefficients.
hyper.p
Hyper-parameter estimated from training. Can use manual input. Default to be NULL.
iuu
Scaler variables for prediction. Always required for both type of predictions.
Cov
Names of covariance functions used. Default to be NULL.
gamma
Parameter used in power exponential covariance function. Default to be NULL.