Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the data set collected about students at school from https://www.littlemissdata.com/blog/steam-data-art2. First we need to read the data in: ```{r} data = read.table(url( https://raw.githubusercontent.com/lgellis/STEM/master/DATA-ART-1/Data/FinalData.csv), header=TRUE,sep=,,quote=)

Consider the data set collected about students at school from https://www.littlemissdata.com/blog/steam-data-art2. First we need to read the data in:

```{r} data = read.table(url( "https://raw.githubusercontent.com/lgellis/STEM/master/DATA-ART-1/Data/FinalData.csv"), header=TRUE,sep=",",quote="\"") ```

The `sep` argument of `read.table` specifies that commas separate the variables (since this is a .csv file). The `quote="\"` argument allows `read.table` to properly read the data that has apostrophes in it.

(a) Create a pie chart of the horoscopes of the children. Also, use the `which()` function to identify the least frequently occurring horoscope in this data set. (The `names()` function obtains the names of a named vector.)

b) Create a two-panel plot (in 1 row and 2 columns) showing the Q-Q plot of the hours of homework variable and a histogram of the same variable. Create the Q-Q plot manually, not using the `qqnorm()` function.

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

More Books

Students also viewed these Databases questions

Question

What must a creditor do to become a secured party?

Answered: 1 week ago

Question

When should the last word in a title be capitalized?

Answered: 1 week ago

Question

1. What are the pros and cons of diversity for an organisation?

Answered: 1 week ago

Question

1. Explain the concept of diversity and equality in the workplace.

Answered: 1 week ago