Question: We will work with a different dataset for this problem. Type in the following. > >data(quakes) Use R commands to answer the questions. a. What
We will work with a different dataset for this problem. Type in the following.
>
>data("quakes")
Use R commands to answer the questions. a. What type of object is quakes? b. What are the dimensions of quakes? c. Find the column names of quakes. d. Access the lat and long columns of quakes (at one time, ie. in the same command). e. Access the depth column of quakes and store it in a vector named "my_vec". f. How many of the elements in my_vec are NA? g. How many of the elements in my_vec are NaN?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
