Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The file flowers.csv file contains information on measurements of the iris flowers. Create an R data frame by the name flower.data that contains

The file "flowers.csv" file contains information on measurements of the iris flowers. Create an R data frame by the name "flower.data" that contains the data in the file.

The following R code shows an example of how to round a vector of numbers to zero decimal places and then calculate some statistics using the rounded numbers. You might need some of the calculations for this assignment, but you might not need others. You would replace example$years with the name of the R object that you want to analyze (in other programming languages, you might call example$years a variable).

> x <- round(example$years, 0)

> freq <- table(x)

> rel.freq <- freq/sum(freq)

> cumsum(rel.freq)

Cumulative Frequency Table for Petal Length

Use the following table to answer tasks 2-4.

Value:

1

2

3

4

5

6

7

Cumulative Relative Frequency:

.16

.33

.35

.58

.81

.97

1.00

Tasks

1. Sometimes it is difficult to understand data if you do not know what the numbers represent. Provide short definitions of two words: sepal, and petal (be sure to cite your sources even if you paraphrase):

sepal:_____________________

petal:_____________________

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

Advanced Engineering Mathematics

Authors: ERWIN KREYSZIG

9th Edition

0471488852, 978-0471488859

More Books

Students also viewed these Mathematics questions

Question

=+a. Help him do so.

Answered: 1 week ago

Question

Tell the merits and demerits of Mendeleev's periodic table.

Answered: 1 week ago