Before you start, enter the following code: data How difficult was this for you? (1 star=easy, 10 stars=hard) Are you a beginner (1 star), intermediate (2 stars) or advanced (3 stars) R user?
Before proceeding, please review Chapter 2 of An Introduction to R and the internal R Documentation for the seq() function (type ?seq in the R console). Solutions are available here. Excercise 1 Using the seq() function, generate the sequence 2, 5, 8, 11. Exercise 2 Use the seq() function to generate the sequence 9, […]
A vector is a simple data structure in R. You will use it frequently, often as a building block of more complex data structures and operations on those structures. Before proceeding, please follow our short tutorial and review Chapter 2 of An Introduction to R. First, write down your answer, without using R and without […]