Skip to main content\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 10.8 R Functions Used in This Chapter
-
abline() plots a best fitting line on top of a scatterplot
-
attach() makes a data structure the "focus" of attention
-
getwd() show the current working directory for R
-
ifelse() a conditional test that provides one of two possible outputs
-
lm() "linear models" and for this chapter, multiple regression
-
plot() general purpose graphing function, many uses in R summary produces an overview of an output structure
You have attempted
of
activities on this page.