leppott / XC95

Extirpation analysis (XC95) for benthic macroinvertebrates and fish for environmental variables.
https://leppott.github.io/XC95/
0 stars 2 forks source link

Need "example" for fish.wt.cdf. #2

Closed leppott closed 7 years ago

leppott commented 7 years ago

nb

leppott commented 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".

leppott commented 7 years ago

Updated for external libraries:

leppott commented 7 years ago

Add dir.check.add() for /Results/cdf/ and /Results/gam/.

Add optional parameter "wd=getwd()" to the function.

leppott commented 7 years ago

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.

leppott commented 7 years ago

version 0.0.0.9006 uploaded.