Question: write the R code that will display the levels of this factor varible > music _ genre < - factor ( c ( jazz

write the R code that will display the levels of this factor varible > music_genre<-factor(c("jazz","rock","classic","classic","pop","jazz","rock","jazz")
use the apply function to calculate the medians of the colums of this data frame name the result (output) by Medians write down the R code you will use dMar4<-c(17,93,56,19,175,40,69,267,4,91)
> dMar5<-c(87,143,103,223,106,18,87,72,59,5)
> dist<-data.frame(dMar4,dMar5)

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!