export | R Documentation |
Export the results generated by the reconstruction
export( x, dataname = x$misc$site_info$site_name, climate = x$parameters$climate, loc = getwd(), as.csv = FALSE, fullUncertainties = FALSE, loo = FALSE, weights = FALSE, pdfs = FALSE )
x |
The name, age or depth of the rows of df (the samples). |
dataname |
The name of the site (default: |
climate |
The climate data to export. Data for all climate variables are saved by default. |
loc |
The path where to export the data (default: working directory) |
as.csv |
Boolean to indicate if the data should be exported as csv ( |
fullUncertainties |
A boolean to export the full climate uncertainty distribution (default |
loo |
A boolean to export the leave-one-out data if they exist (default |
weights |
A boolean to export the weights derived from the percentages (default |
pdfs |
A boolean to export the taxa's |
No return value, function called to export the results.
## Not run: data(crest_ex) data(crest_ex_pse) data(crest_ex_selection) reconstr <- crest( df = crest_ex, pse = crest_ex_pse, taxaType = 0, site_info = c(7.5, 7.5), climate = c("bio1", "bio12"), bin_width = c(2, 20), shape = c("normal", "lognormal"), selectedTaxa = crest_ex_selection, dbname = "crest_example", leave_one_out = TRUE ) #> Replace 'tempdir()' by the location where the sample should be saved (e.g. 'getwd()') export(reconstr, dataname='crest_example', fullUncertainties=TRUE, weights=TRUE, loo=TRUE, pdfs=TRUE, loc=tempdir()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.