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
Get step-by-step solutions from verified subject matter experts
