MATH 240- Final Exam Guide - Comprehensive Notes for the exam ( 88 pages long!)

163 views88 pages

Document Summary

Starting and quitting r: to start rstudio, double-click on the rstudio icon, quit r by doing one of the following: Type q() at the r command prompt. Click on file from the toolbar and choose quit rstudio. Click on the x in the upper right-hand corner of the rstudio window: there will be a message asking whether to save the workspace image. Choosing yes will sa(cid:448)e all the o(cid:271)je(cid:272)ts i(cid:374) the (cid:449)o(cid:396)ki(cid:374)g di(cid:396)e(cid:272)to(cid:396)(cid:455) i(cid:374) a(cid:374) (cid:862)i(cid:373)age(cid:863) file (cid:374)a(cid:373)ed . rdata. Getting help: select the help tab and type the name of the function in the search field; or, type help(t. test) (to get help on the function t. test); or, type ?t. test. Use the caret (^) or two asterisks (**) to raise values to a certain power: creating a vector: The concatenate function c () can be used to create vectors of any length. If we forgot an element of the vector, it can easily be added x = c (x,3)