Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Open a new R Markdown file, add a title, and select Word or HTML as your default output format. a . Briefly describe
Open a new R Markdown file, add a title, and select Word or HTML as your
default output format.
a Briefly describe the components of an R Markdown file.
b What is the advantage of using R Markdown over R Script?
Create a sequence from to that increases by steps of
a Generate a random sample of numbers without replacement.
b Generate a random sample of numbers with replacement.
Create a vector with the values: Using the correct functions,
perform the following:
a Sort vector from lowest to highest and save to a new object name.
b Repeat the sorted vector times vectorwise.
c Repeat the sorted vector times elementwise.
d Find the minimum and maximum values, compute the sum, and
compute the product for this vector.
Load the builtin R data frame Orange.
a What is the structure of this data set?
b Create a table in vertical column format for the variable Tree. Include
columns for proportion and cumulative frequency.
Load the builtin R data frame mtcars.
a Find the data class for the variable mpg What type of data is it
b Using the proper type of graph, display the data for the mpg variable.
Make sure to add a title, axes labels, and choose a color for your graph.
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