Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A Pathway To Introductory Statistics

Authors: Jay Lehmann

1st Edition

0134107179, 978-0134107172

More Books

Students also viewed these Programming questions

Question

Define the terms management science and operations research.

Answered: 1 week ago

Question

What percent is $1.50 of $11.50?

Answered: 1 week ago