Question: (1) Create a vector that contains numbers 1 through 1000 that only contains the even numbers. Label this vector even. Verify the length and that

 (1) Create a vector that contains numbers 1 through 1000 that

(1) Create a vector that contains numbers 1 through 1000 that only contains the even numbers. Label this vector "even." Verify the length and that it contains even numbers. (2) Create one vectors of length 500 . It is a repetition of "TRUE" and "FALSE" Verify lengths and data of the vector. (3) Create a data frame of all the vectors create thus far in this exercise. Verify lengths and data. (4) Return the 100th, 200th, ..., 500th elements of the even vector. (5) Return the elements of the even vector that are less than 23 or greater than or equal to 451. (6) Change the "True" and "False" vector into a vector of factors. (7) Write a function to find the mean, variance, standard deviation and statistics summary for the even vector created

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!