Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . You are given the iris dataset to derive insight from. Using an appropriate library in R , perform the following tasks: Select petal

1. You are given the iris dataset to derive insight from. Using an appropriate library in R, perform the following tasks:
Select petal length and sepal length from the given dataset
Filter the data to represent only those classes of flowers whose petal length is more than 5.5 units.
Create a new column flower area to represent the total area occupied by the flower petals.
2. You use a web api to collect data from the Spotify app database, from this Spotify dataset, perform the following tasks:
Visualize the distribution of a numerical variable song_duration.
Add a layer of smooth density curve to the above plot.
Differentiate the plot based on the categorial variable song_genre using different colors.
3. You are given a csv file named heart_disease.csv comprising of information about various factors affecting the presence of heart disease. Perform the following operations:
Read the CSV file into a dataframe hdf.
Display the summary statistics for the column cholestrol.
Create a new column BMI, while also adding the required variables.

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

Step: 3

blur-text-image

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

Students also viewed these Databases questions

Question

Discuss the history of human resource management (HRM).

Answered: 1 week ago