Question: What type of variable is duration? R CODES: class(Spotify$duration) ## [1] integer spotify$duration = spotify$duration/(60*1000) #convert to minutes A. Numeric and discrete B. Numeric and

What type of variable is duration?

R CODES:

class(Spotify$duration)

## [1] integer

spotify$duration = spotify$duration/(60*1000) #convert to minutes

A. Numeric and discrete

B. Numeric and continuous

C. Categorical and ordinal

I think duration is the time of music in second. It should be numeric and continuous.

However, the class() funnction results "integer". This means that duration is discrete.

Thus, what should i asnwer?

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 Mathematics Questions!