Question: In R , assign ( define ) x as a sequence of numbers of from 1 to 5 with the gap ( increment ) of
In R assign define x as a sequence of numbers of from to with the gap increment of consequative numbers being To do so complete the following code:
xseq
a What is the length of x ie how many distinct values the vector x contains?
put your answer in the box, only integer number, no decimal place
To find the length of x run the code:
lengthx
b What is the average value of x
use the mean function to find the average of x
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
