densitymodelling / dsmextra

Extrapolation assessments in density surface models
GNU Lesser General Public License v3.0
4 stars 3 forks source link

ExDet function not found #14

Open Jmillot34 opened 1 year ago

Jmillot34 commented 1 year ago

Hi, I am very interested in the function "ExDet" that you developed. I used these lines to install "dsmextra" package :

if (!require("remotes")) install.packages("remotes") remotes::install_github("densitymodelling/dsmextra", force = TRUE)

I installed the latest version of each additional package needed and I ran library(dsmextra).

The package is well-installed but when I run "ExDet" function I got : ExDet(ref, tg, xp) : could not find function "ExDet" Any idea to fix my issue ?

Many thanks in advance Jade

pjbouchet commented 1 year ago

Hi Jade,

The ExDet function is an internal function that is not meant to be called directly by the user. You can use the compute_extrapolation function instead. Check out the package vignette for more details and a step-by-step tutorial: https://densitymodelling.github.io/dsmextra/articles/dsmextra.html.

The following paper also gives further information about the workflow that dsmextra expects, and the various functions included in the package (as well as how to use them).

Bouchet et al. (2020) dsmextra: Extrapolation assessment tools for density surface models. https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.13469

Hope this helps! Phil

Jmillot34 commented 1 year ago

Thank you very much Phil, it works perfectly now !

Jade