Question: in R code: ( 2 points ) The following gives a vector of - 1 ' s , 0 ' s , and 1 '
in R code:
points The following gives a vector of ss and s
rep:
Give two more approaches that return the same vector without using the functions
rep and append
points Convert the vector you created in # into the following character string:
b c a b c a b c a b c
points Convert the vector you created in # into the following logical vector:
FALSE TRUE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE TRUE TRUE
points Let dots, be a sample of size Type the formula for the sample standard
deviation, and center the equation by writing it within double dollar symbols.
points The function in R calculates the standard deviation of a sample. Use this
function to compute the standard deviations for the variables "miles per gallon" mpg
"number of cylinders" cyl and "displacement" disp within the mtcars dataset.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
