Posts by Dejalma • 66 points
1 post
-
5
votes3
answers530
viewsA: How to select all data.frame variables at once for a regression?
The operator . in this context (argument formula of function lm) means "all other columns that are not in the formula". Thus the y regression against all other columns of the data.frame can be…