copy_crest | R Documentation |
Copy crest data to the clipboard for an easy extraction of the data from the R environment.
copy_crest( x, climate = x$parameters$climate, optima = TRUE, mean = FALSE, uncertainties = FALSE )
x |
A |
climate |
A vector of the climate variables to extract. See
|
optima |
A boolean value to indicate if the optima should be copied to the clipboard. |
mean |
A boolean value to indicate if the means should be copied to the clipboard. |
uncertainties |
A boolean value to indicate if the uncertainties should be copied to the clipboard. |
No return value. This function is called to copy the crest data to the clipboard.
## Not run: if(requireNamespace('clipr', quietly=TRUE)) { reconstr <- crest( df = crest_ex, pse = crest_ex_pse, taxaType = 0, climate = c("bio1", "bio12"), bin_width = c(2, 20), shape = c("normal", "lognormal"), selectedTaxa = crest_ex_selection, dbname = "crest_example", leave_one_out = TRUE ) copy_crest(reconstr, uncertainties=TRUE) ## You can now paste the values in a spreadsheet. } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.