CTFS.readwrite {CTFS}R Documentation

Overview of Functions that Read, Write and Restructure CTFS data files

Description

Provides an overview of the functions that allow asci data files to be read into R using CTFS variable defintions, to be restructured for use in various analyses, to be accessed with ease and to be saved for further use.

Details

FUNCTIONS THAT READ, WRITE AND RESTRUCTURE CTFS DATA FILES

sep.data
Re-structures a dataframe into a list of dataframes by values of a Column in the dataframe using a variable in the initial dataframe. Replacement for: splitdata.
sep.vct.data
Re-structures a dataframe into a list of dataframes by values of a Column in the dataframe using a vector of a variable not in the initial dataframe. Replacement for: splitdata.
mergecensus
Merges two Censuses into one dataframe and sets the value of status.
create.status
Sets the value of status for a single census dataset.
texttordata
Creates CTFS R dataframe from any tab delimited text file.
sep.species
Separate One or More Dataframes of Tree Records from a List. If a single species name is provided, a data frame of the tree records of that species is returned. This is the same as load.species. If a vector of species names is provided, then a list of the dataframes of those species is returned.
load.species
Separate One or More Dataframes of Tree Records from a List. A more limited function than sep.species. The same effect can be achieved with siteyear.spp$sppname where siteyear.spp is a list created using sep.data, eg. tst.bci90.spp and sppname is one of the list names.
readelevdata
Read a Text or RData dataframe and Make a matrix, Specifically for Elevation Data.

FUNCTIONS FOR FORMATTING RESULTS

assemble.demography
Reformat the Output from Demographic Functions from list to dataframe.
assemble.table.each
Reformat the Output from Demographic Functions from list to dataframe.

FUNCTIONS FOR CREATING VECTORS

See CTFS.groupcats.

Note

For developers: The CTFS readwrite functions are found in a file approximately named: readandwrite.R

Author(s)

Rick Condit, Suzanne Lao and Pamela Hall

See Also

CTFS.quadfunctions, CTFS.utilities, CTFS.groupcats


[Package CTFS version 1.00 Index]