ββ Attaching core tidyverse packages ββββββββββββββββββββββββ tidyverse 2.0.0 ββ
β dplyr 1.1.4 β readr 2.1.5
β forcats 1.0.0 β stringr 1.5.1
β lubridate 1.9.3 β tibble 3.2.1
β purrr 1.0.2 β tidyr 1.3.1
ββ Conflicts ββββββββββββββββββββββββββββββββββββββββββ tidyverse_conflicts() ββ
β dplyr::filter() masks stats::filter()
β dplyr::lag() masks stats::lag()
βΉ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
2.1 Introduction
This page provides a WebR cell for you to use as a playground to experiment with some example datasets. You can use this page to explore data management and visualisation in R.
2.2 Playground
2.3 Things you can do
This WebR instance has three packages installed:
ggplot2
tidyverse
palmerpenguins
Open the callout boxes below to see some examples you can try in the code cell above.
Investigate Palmerβs Penguins
The penguins dataset contains data about three different species of penguins. Take a look at the format of the dataset:
glimpse(penguins)
Youβll see there are eight variables, including species, weight, sex, etc. - some of these variables are categorical (i.e. a category, like species), and others are continuous (i.e. numerical). You can see a visual overview of how the data is related using the plot() function:
plot(penguins)
We can visualise the number of penguins of each species in a bar chart: