Open ericward-noaa opened 10 months ago
Thanks - can you add pROC to .github/workflows/pkgdown.yaml
in the extra packages for web-only vignettes? And maybe remove the extra spaces in roc <- pROC::roc( actual_values, plogis(pred$est) )
?
I'm trying to decide if this fits with the residual checking vignette given it doesn't involve residuals. Would the cross-validation vignette be a more natural place maybe adding a quick example of AUC on the cross-validation predictions?
pROC
, so I made both the chunks that used it not evaluated (only 1 was off before, hence the warning)
Added diagnostics for delta/presence-absence models: AUC, TSS
TSS addition motivated by discussion here: https://github.com/pbs-assess/sdmTMB/issues/84
It'd be easy to turn the TSS code into a function if it's more broadly useful