Question: 2. (10 Points) Few students were asked about the number of their siblings. The responses are: 2, 1, 1.7, 82, and 4. (a) What

2. (10 Points) Few students were asked about the number of their 

2. (10 Points) Few students were asked about the number of their siblings. The responses are: 2, 1, 1.7, 82, and 4. (a) What type of variable are we measuring here? (b) Which one(s) of these responses do not make sense to you? Why? (c) Regardless of your answer above, compute an appropriate average of these responses. Explain. (d) Write the R command that is needed to create an object named x that contains this dataset into R. Workspace (e) Write the 5 computations steps that are required to evaluate the following R expres- sion: 5+2 (23 + 4/2): (f) What type of R object that is created using: x = read.csv("data.csv",header=T,row.names=1) (g) From the above read.csv command, what are the contents of the first row in the file data.csv? (h) From the above read.csv command, what are the contents of the first column in the file data.csv? (i) Write the R command that displays the last 4 rows of the object x. (j) Write the R command that displays the entire object x is an Excel-like table.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!