Description Usage Arguments Author(s) Examples
blablabla
1 2 3 |
df |
data frame with 4 variable named "time", "space", "disease" and "drug". "time" and "space" are considered as integer and character respectively and "disease" and "drug" are both considered as logical. |
xlab |
label of the x axis. Default to "time". |
ylab |
label of the y axis. Default to "space". |
col_na |
color used for non surveyed time/space. |
col_surv_no_dis |
color used for surveyed time/space with no disease. |
col_surv_dis |
color used for surveyed time/space with disease |
... |
additional parameters passed to the "points" function that add the "drug" information. |
Marc Choisy
1 2 3 4 5 6 7 8 | library(dplyr)
chcknfarms %>%
filter(CYCLE == 1) %>%
transmute(space = FARMCODE,
time = WEEK,
disease = SRespiratory,
drug = AntibioticUse) %>%
heat_map(xlab = "week", ylab = "farm")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.