Determine the number of rows and columns for this data


Consider the built-in data frameUSArrests.

(a) Determine the number of rows and columns for this data frame.

(b) Calculate the median of each column of this data frame.

(c) Find the average per capita murder rate (Murder) in regions where the percentage of the population living in urban areas (UrbanPop) exceeds 77%. Compare this with the average per capita murder rate where urban area population is less than 50%.

(d) Construct a new data frame consisting of a random samples of 12 of the records of the USArrestsdata frame, where the records have been sampled without replacement.

Request for Solution File

Ask an Expert for Answer!!
Basic Statistics: Determine the number of rows and columns for this data
Reference No:- TGS02180470

Expected delivery within 24 Hours