| lmGC {tigerstats} | R Documentation | 
Linear Regression
Description
Regression analysis (one numerical predictor variable) with simplified output.
Wrapper function for lm in package stats.
Usage
lmGC(form,data=parent.frame(),graph=FALSE,check=FALSE)
Arguments
form | 
 formula of form y~x, both variables numeric  | 
data | 
 dataframe supplying y and x above. If one or more of the variables is not in data, then they will be searched for in the parent environment.  | 
graph | 
 Produce scatterplot with fitted polynomial, together with prediction standard error bands  | 
check | 
 Asks to produce a lowess or gam curve with approximate 95 fitted line wanders outside the band, then perhaps a linear fit is not appropriate.  | 
Value
A list of class "GClm". Elements that may be queried include "slope", "intercept", "s" (residual standard error), "R^2" (unadjusted).
Author(s)
Homer White hwhite0@georgetowncollege.edu
Examples
#To study the relationship between two numerical variables:
lmGC(fastest~GPA,data=m111survey,graph=TRUE)
[Package tigerstats version 0.3.2 Index]