Worked Examples of Functions
To see a worked example just type the function name (linear models, lm, in this case)
example(lm)
and you will see the printed and graphical output produced by the lm function.
Get The R Book now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.