Question: 1. You create a numeric vector with the command my_vect -> 2. What command(s) would you use in R Programming to do the following :
1. You create a numeric vector with the command my_vect ->
2. What command(s) would you use in R Programming to do the following :
- Display the first 5 elements of my_vect
- Display only the elements of my_vect that are negative
- Display only the elements of my_vect that are less than 10 and greater than or equal to zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
