Question: please answer this question by code of R studio Create a numeric vector (which is x) starts from -2 to 3 by .1 (increment). 1.
please answer this question by code of R studio
Create a numeric vector (which is x) starts from -2 to 3 by .1 (increment).
1. How many elements did x have?
2. let s = 6. How to extract the first s elements of x? How to extract the last s elements of x?
3. How to extract all the elements of x that are within .6 of the median of x?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
