Question: Lab 1 Homework Complete items 1 - 1 0 in an R script file. Save ( file save as homework 1 _ last name )

Lab 1 Homework
Complete items 1-10 in an R script file. Save (file save as homework 1_last name) and submit the.R file to Blackboard.
Open a new R script file. Start by adding a comment with your name at the top.
For each of the following, come up with a object name that would be appropriate to use in R for the listed variable ?8 :
a. How much aspirin is given per dose for a patient
b. Number of siblings per person
c. Height of giraffes
Use R to calculate:
a.1517
b.8 to the third power
c. The difference between 90 and 52
d. The remainder of 800 divided by 60
e.6 plus 10 divided by 9
Look up the help documentation for the function rep 0. Use this function to create the following 3 vectors 9 :
a.000000
b.123312331233123
c.455666
 Lab 1 Homework Complete items 1-10 in an R script file.

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 Databases Questions!