Question: DO the following using R statistical tool please. Thank you. Q-1 A) Create vector with value 5,10,15,20,25,30 and write code to print values with greater

DO the following using R statistical tool please. Thank you. Q-1 A) Create vector with value 5,10,15,20,25,30 and write code to print values with greater than 20. B) Create logical vector TRUE, FALSE, TRUE, FALSE, FALSE, TRUE and write code to print values of vector provided in Q-1A by applying given logical vector. C) Create a list from vectors in Q-1 A & B, write a code to access 3rd value of 2nd member in the list. Q-2 A) Create user define a function which matrix as an input. Transpose input matrix, multiply the matrix by 3 and output matrix B) Create user define a function in R which takes a numeric vector as an input and print output as sum, mean, median and standard deviation. Add a logical variable as vector length .

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!