Answered step by step
Verified Expert Solution
Link Copied!

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 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
image text in transcribed

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

Students also viewed these Databases questions

Question

8. Explain the difference between translation and interpretation.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago

Question

1. Understand how verbal and nonverbal communication differ.

Answered: 1 week ago