Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started