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

View source: R/createPSE.R

createPSER Documentation

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")

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.

Value

No return value, called to create a PSE file.

Examples

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


crestr documentation built on Jan. 6, 2023, 5:23 p.m.