Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started