sp_hyphenate | R Documentation |
Hyphenate or underscore species name.
sp_hyphenate(
sp,
hyphen_rds = TRUE,
underscore = FALSE,
area = FALSE,
results = FALSE
)
sp |
Species common name (as used in gfdata and gfplot) as a string, e.g. "yelloweye rockfish". |
hyphen_rds |
If TRUE then return "yelloweye-rockfish.rds" (for saving/loading .rds files of cached data). |
underscore |
If TRUE then return "yelloweye_rockfish" (for storing R
objects), and overrides |
area |
If TRUE then return "yelloweye-rockfish-area" (or "yelloweye_rockfish_area") to use for area-restricted analyses. |
results |
If TRUE then append "results" to name also, for saving .RDS
files in |
string of adapted species name
Andrew Edwards
## Not run:
sp_hyphenate("yelloweye rockfish", underscore = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.