Question
1) Execute the following R commands in RSTUDIO: thisNumber
1) Execute the following R commands in RSTUDIO:
thisNumber <- 8
anotherNumber <- thisNumber / 4 ^ 3 * 2
nextNumber <- sqrt(anotherNumber)
theAnswer <- nextNumber + thisNumber
a) What is the value of theAnswer? ____________
b) Which of the following objects has the largest value? (Circle one.) thisNumberanotherNumber nextNumbertheAnswer
c) Which of the following objects has the smallest value? (Circle one.) thisNumberanotherNumber nextNumbertheAnswer
d) Everything that exists in the R environment is an object. Everything that happens is a function call. (Circle one.) TrueFalse
2) Youll get an error if you attempt to execute the following statement:
You cant call Rs plot function without any arguments. Whats the bare minimum plot function call that will generate a graphic rather than an error message?
3) A political science major wants to use Rs plot function to create a compelling graphic. The student plans to follow an example that uses a dozen optional arguments to make labels, modify colors, and implement other refinements. Why should the student start with a bare minimum plot and add optional arguments one at a time?
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