bd_during | R Documentation |
top
Check what herds were in BD on a particular date.
bd_during(df, day_to_check, format = "%Y-%m-%d")
df |
BD dataset (bd_df). Created using bd_dataset_fun (bd_df <- bd_dataset_fun(master_tb)) |
day_to_check |
date to check if herd was in a BD during this time |
format |
date format, Default: '%Y-%m-%d' |
DETAILS
returns new indicator column in BD dataset (0 = not in BD, 1 = in BD).
## Not run: if(interactive()){ #bd_check <- bd_during(bd_df, "2017-02-27") } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.