Closed leppott closed 7 years ago
Example from Appendix G of document (Figures 12, 13, 14, 15). Provided by Lei Zheng.
Used Figure G-14. Added data to /data-raw/ along with data prep R script. New data "dta.do" and "ss.sites".
Updated for external libraries:
Hmisc::wtd.quantile
mgcv::gam
Hmisc::Ecdf
Add dir.check.add() for /Results/cdf/ and /Results/gam/.
Add optional parameter "wd=getwd()" to the function.
Added parameters for grouping variables (HUC, Ecoregion, and Watershed Area). groups = c("BigHUC","ECOREGL3","WS_Area")
Added parameter for xvar (default = "cond") and modified code to use df[,xvar] instead of df$cond.
version 0.0.0.9006 uploaded.
nb