Learn R Programming

crestr (version 1.2.1)

createPSE: Creates a spreadsheet with the format required for a PSE.

Description

Creates a spreadsheet with the format required for a PSE from a list of taxa.

Usage

createPSE(taxa, loc = "proxy_species_equivalency.xlsx")

Value

No return value, called to create a PSE file.

Arguments

taxa

A list of taxa to include in the PSE file.

loc

An absolute or relative path that indicates where the spreadsheet should be saved. Also used to specify the name of the file. Default: the file is saved in the working directory under the name proxy_species_equivalency.xlsx.

Examples

Run this code
data(crest_ex)
createPSE(taxa = colnames(crest_ex)[-1],
          loc=file.path(tempdir(), 'pse.xlsx')
)

Run the code above in your browser using DataLab