Skip to main content

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.