I can't seem to reproduce this, as the CSV loaded in the beginning seems to differ from the file available on the website: the file on the website has only 6 columns in the CSV (e.g. no ID), while this is part of the .csv loaded at the beginning of this script (which seems to have 10 columns, including ID)
I have tried to recreate the CSV using the TestVignette2018, but run into errors starting at line 288 (Error: Problem with `mutate()` input `mcparea`. x argument is of length zero) Also in preceding steps things seem to go wrong, perhaps due to changes to the package e.g. warning at 210: : `cols` is now required when using unnest(). Please use `cols = c(data, dir_abs, dir_rel, sl, nsd_)`
@@merijna1 I don't get the CSV issue, but the nest()/unnest() problems can be resolved by using the _legacy versions of the functions in the tidyverse library.
is used and observed the same thing? it sounds like you were referring to them as 2 different things. i.e. used is predicted use and observed is where the animal was actually observed.
I can't seem to reproduce this, as the CSV loaded in the beginning seems to differ from the file available on the website: the file on the website has only 6 columns in the CSV (e.g. no ID), while this is part of the .csv loaded at the beginning of this script (which seems to have 10 columns, including ID)
I have tried to recreate the CSV using the TestVignette2018, but run into errors starting at line 288 (Error: Problem with `mutate()` input `mcparea`. x argument is of length zero) Also in preceding steps things seem to go wrong, perhaps due to changes to the package e.g. warning at 210: : `cols` is now required when using unnest(). Please use `cols = c(data, dir_abs, dir_rel, sl, nsd_)`
@@merijna1 I don't get the CSV issue, but the nest()/unnest() problems can be resolved by using the _legacy versions of the functions in the tidyverse library.
One of the csv files are not offered on the website it seems
is used and observed the same thing? it sounds like you were referring to them as 2 different things. i.e. used is predicted use and observed is where the animal was actually observed.