Question: #Given the following vectors: vector1

#Given the following vectors: vector1 <- c(2,18,30) vector2 <- c(10,14,17,13,11,15,22,11,33)

#a.create an array which would be 34 matrices #

#b. Write a function to check whether the results in 3.a above is in fact an array? #

#c. Check the dimension of your output in 3.a. using the length function #

#Given the following vector of US States states <- c("MICHIGAN","NEW YORK","WASHINGTON","FLORIDA", "NORTH CAROLINA", "NORTH DAKOTA")

#d. Use lapply() to change the strings to lower case and inspect the result using the str()

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!