If the file penguins_no_na.csv is not already in your working directory then download it into your working directory.
Load penguins_no_na.csv into R using read_csv().
Copy the following vectors into R:
region =c("Anvers", "Anvers", "Anvers")island =c("Biscoe", "Dream", "Torgersen")area =c(26.2, 42.0, 6.7)
Use $ to extract the flipper length column into a vector
Use [] to extract the body mass column into a vector
Extract the bill length column into a vector using pull() and use this vector to determine the maximum bill length
Using the vectors you copied into R, create a new data frame named islands with region, island, and area columns
Create a combined table including the information from both the penguins and the islands tables together
CautionOutput solution
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Rows: 333 Columns: 8
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (3): species, island, sex
dbl (5): bill_length_mm, bill_depth_mm, flipper_length_mm, body_mass_g, year
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Use $ to extract the flipper length column into a vector