Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an R script: Create a new script by going to File > New File > R Script. This will give you a blank page

Create an R script:
Create a new script by going to File > New File > R Script. This will give you a blank page in the editor window. Before you start writing your script you should save it by going to File > Save or click on the disk icon: 1 Give your script a name like "Lab1" and save it in the same directory that contains your lab project file. If you followed the instructions above, this directory will be called Math2240L. Don't forget to save your script again when you are finished writing it!
Assignment Questions:
In the new script that you created above write one line of code for each of the following steps:
a. Multiply -25 by 6; assign this value to an object called result 1
b. Find the absolute value of result1; assign this value to an object called result2
c. Divide result 2 by ; assign this value to an object called result 3
d. Find the square root of result 3
Copy and paste your script into your solutions document. Or take a screenshot and paste it into your document.
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