Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In R Studio - Use Library () to see the packages that are installed. Install R Forecast Package and ggplot2 Package by going to Tools

  1. In R Studio - Use Library () to see the packages that are installed.
  2. Install R Forecast Package and ggplot2 Package by going to Tools and install from CRAN Repository

Show that Forecast Package and ggplot2 package is installed by using Library()

  1. Load Forecast Package by running library(Forecast)
  2. Explore the Iris Dataset in R

Library(datasets)

data(iris) - Importing the Iris dataset

str(iris) - Structure of the dataset will be displayed

head(iris) - Top few rows of the dataset

  1. mean(iris$Sepal.Length) - Mean value of Sepal Length

median(iris$Sepal.Length) -Median value

range(iris$Sepal.Length) - Range

var(iris$Sepal.Length) - Variance

sd(iris$Sepal.Length) - Standard deviation

  1. summary(iris$Sepal.Length)

  1. summary(iris) - to know the spread of data

  1. boxplot(iris$Sepal.Length)

  1. boxplot (iris$Sepal.Length, horizontal = TRUE)

  1. boxplot.stats (iris$Sepal.Length)

  1. boxplot(iris[1:4]) 4 Box plots of each column from 1 to 4

  1. hist(iris$Sepal.Length)

  1. hist(iris$Sepal.Length, main=Histogram of Sepal Length, xlab = Sepal length)

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

Students also viewed these Databases questions

Question

What is meant by integrative materials management?

Answered: 1 week ago