Question: Lab 1 Homework Complete items 1 - 1 0 in an R script file. Save ( file save as homework 1 _ last name )
Lab Homework
Complete items in an script file. Save file save as homework last name and submit the. file to Blackboard.
Open a new 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 for the listed variable :
a How much aspirin is given per dose for a patient
b Number of siblings per person
c Height of giraffes
Use to calculate:
a
b to the third power
c The difference between and
d The remainder of divided by
e plus divided by
Look up the help documentation for the function rep Use this function to create the following vectors :
a
b
c
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
