Practice: Week 2

Author

your name here

Summaries: Continuous Variables

Let’s use mean_median() to summarize the continuous variables in the MLP dataset.

Let’s use mean_median() to summarize the continuous variables in the MLP dataset by pony type.

Summaries: Categorical Variables

Let’s use n_pct() to summarize the types of ponies in the dataset.

Let’s use n_pct() to describe friendship index by type.

Graphs: Box Plots

Construct a box plot for the tail shimmer of the ponies (tail_shimmer).

Graphs: Histograms

Construct a histogram for the flying speed of ponies (flying_speed).

Construct a histogram for the magical energy of ponies (magical_energy).

Graphs: Bar Graphs

Construct a bar graph for the combined age and sex of ponies.

Construct a bar graph for the type of pony.

Graphs: Scatterplots

Construct a scatterplot with magical energy (magical_energy) on the x-axis and tail shimmer (tail_shimmer) on the y-axis.

Construct a scatterplot with magical energy (magical_energy) on the x-axis and flying speed (flying_speed) on the y-axis.