Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Directed Algebraic Topology And Concurrency

Authors: Lisbeth Fajstrup, Eric Goubault, Emmanuel Haucourt, Samuel Mimram, Martin Raussen

1st Edition

3319153986, 9783319153988

More Books

Students also viewed these Mathematics questions

Question

Define the major objective of internal control. LO1

Answered: 1 week ago

Question

Identify to what standard food cost percentage is compared. LO1

Answered: 1 week ago