predict.GClm: Prediction Function for GC Linear Regression

Description Usage Arguments Value Author(s) Examples

View source: R/lmGC.R

Description

Used by generic predict function

Usage

1
2
## S3 method for class 'GClm'
predict(object,x,level=NULL,...)

Arguments

object

An object of class GClm

x

value of the predictor variable

level

desired level of prediction interval

...

ignored

Value

numeric prediction

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

1
2
3
4
5
#predict fastest speed driven, for person with GPA=3.0:
SpeedModel <- lmGC(fastest~GPA,data=m111survey)
predict(SpeedModel,x=3.0)
#include prediction interval:
predict(SpeedModel,x=3.0,level=0.95)

tigerstats documentation built on July 2, 2020, 2:32 a.m.