grasp.pred {grasper}R Documentation

GRASP-R Predict

Description

Predicts each RVs using a new set of PVs

Usage

grasp.pred(gr.Yi)

Arguments

gr.Yi Selected responses to be used in the form of a vector with column numbers

Details

This function is the most time and ressource consuming, along with the stepwise selection. It predicts each response variables (RVs) using a new set of predictor variables (PVs) contained in XXXpred. The XXXpred variable is initialized by grasp.in. The predict.gam function from the mgcv package is used. The predictions are saved in the variable gr.predmat. The grasp.pred.plot() function plots the results.

Author(s)

Fabien Fivaz fabien.fivaz@bluewin.ch. Ported to R from GRASP for S-Plus written by A. Lehmann, J.R. Leathwich and J. McC Overton. Look at http://www.cscf.ch/grasp for details and update.

See Also

grasp.step.gam, grasp.model and predict.gam


[Package grasper version 0.4-3 Index]