This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.5
## ✔ forcats 1.0.0 ✔ stringr 1.5.1
## ✔ ggplot2 4.0.0 ✔ tibble 3.2.1
## ✔ lubridate 1.9.4 ✔ tidyr 1.3.1
## ✔ purrr 1.0.4
## ── 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
library(cowplot)
##
## Attaching package: 'cowplot'
##
## The following object is masked from 'package:lubridate':
##
## stamp
You can also embed plots, for example:
## Rows: 4857 Columns: 8
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (6): Date, Month, Family, Genus, Species, Common_name
## dbl (2): Year, Count
##
## ℹ 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.
## Rows: 456 Columns: 9
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (7): Date, Month, Family, Genus, Species, Common_name, Maturity
## dbl (2): Year, Count
##
## ℹ 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.
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.
head(waterfowl)
## # A tibble: 6 × 8
## Date Month Year Family Genus Species Common_name Count
## <chr> <chr> <dbl> <chr> <chr> <chr> <chr> <dbl>
## 1 12/20/12 December 2012 Anatidae Branta canadensis Canada Goose 1944
## 2 12/22/16 December 2016 Anatidae Branta canadensis Canada Goose 1807
## 3 12/20/07 December 2007 Anatidae Branta canadensis Canada Goose 1651
## 4 12/10/91 December 1991 Anatidae Branta canadensis Canada Goose 1494
## 5 12/20/94 December 1994 Anatidae Branta canadensis Canada Goose 1477
## 6 12/11/90 December 1990 Anatidae Branta canadensis Canada Goose 1359
head(eagles)
## # A tibble: 6 × 9
## Date Month Year Family Genus Species Common_name Maturity Count
## <chr> <chr> <dbl> <chr> <chr> <chr> <chr> <chr> <dbl>
## 1 1/9/03 January 2003 Accipitridae Haliaee… leucop… Bald Eagle Adult 0
## 2 1/9/03 January 2003 Accipitridae Haliaee… leucop… Bald Eagle Immature 0
## 3 1/9/03 January 2003 Accipitridae Haliaee… leucop… Bald Eagle Unknown 0
## 4 2/6/03 February 2003 Accipitridae Haliaee… leucop… Bald Eagle Adult 0
## 5 2/6/03 February 2003 Accipitridae Haliaee… leucop… Bald Eagle Immature 0
## 6 2/6/03 February 2003 Accipitridae Haliaee… leucop… Bald Eagle Unknown 0