Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer the following: 1 . You are given the iris dataset to derive insight from. Using an appropriate library in R , perform the following
Answer the following:
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 units.
Create a new column flower area to represent the total area occupied by the flower petals.
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 songduration.
Add a layer of smooth density curve to the above plot.
Differentiate the plot based on the categorial variable songgenre using different colors.
You are given a csv file named heartdisease.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.
Evaluation Rubrics:
Qn No Criteria Must Have
Select library
Choice of function
Choice of function
Qn No Criteria Must Have
Use of histogram
Density layer
Color coding
Qn No Criteria Must Have
Converting dataset into data frame
Summary Statistics
Adding a new column
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