nwt_morts | R Documentation |
Mortality data for Northwest territory boreal woodland caribou, anonymized and randomized by year, thereby retaining the multi-seasonal signal without, with grateful acknowledgements to A. Kelly and N. Larter.
data(nwt_morts)
Data frame with 370 rows and the following columns:
ID of animal
Date of beginning of collaring
Date of death or censoring
"Mort" or "Cens" (dead or censored)
Government of Northwest Territories, Canada
data(nwt_morts)
require(ggplot2); require(magrittr); require(plyr)
ggplot(nwt_morts %>% arrange(start) %>% mutate(id = factor(id, levels = id)),
aes(x = start, y = id, col = status)) +
geom_errorbarh(aes(xmin = start, xmax = end))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.