Learn R Programming

tigerstats (version 0.1.6)

predict.GClm: Prediction Function for GC Linear Regression

Description

Used by generic predict function

Usage

## S3 method for class 'GClm':
predict(object,x,...)

Arguments

object
An object of class GClm
x
value of the predictor variable
...
ignored

Value

  • numeric prediction

Examples

Run this code
#predict fastest speed driven, for person with GPA=3.0:
SpeedModel <- lmGC(fastest~GPA,data=m111survey)
predict(SpeedModel,x=3.0)

Run the code above in your browser using DataLab