## How the remove_underscore and remove_dollar arguments act:
## An example:
## kDat$variable_other_stuff
## remove_underscore: +++++++++++++------------
## remove_dollar: -----++++++++++++++++++++
x <- rnorm(100); y <- x * runif(100)
z <- as.factor( rep( c("apple", "banana", "cherry", "date"), each=25 ) )
myFit <- lm( y ~ x + z )
## compare the output of these two: which do you prefer?
coef( summary( myFit ) )
kCoef( myFit )
Run the code above in your browser using DataLab