split_data: Split a dataframe into a list by any vector.

Description Usage Arguments Details

Description

Converts a big dataframe into a list of smaller dataframes, grouped using any column in the database, or any external vector.

Usage

1
2
split_data(censdata, splitcol = "sp", keepsplitcol = FALSE,
  allsplit = NULL, showOutput = NULL)

Arguments

censdata

A table of plot census data.

splitcol

The name of any variable in censdata.

keepsplitcol

Can be set to TRUE in order to retain in the new dataframes the column on which the data are grouped; otherwise, that column is removed.

allsplit

Can be set to a vector of data sections to be included; if allsplit includes values not in the data, empty elements are included in the list, but if allsplit includes fewer values than found in the data, then missing elements are omitted.

showOutput

xxxdocparam

Details

The old name split.data clashed with an S3 method, so it was replaced by split_data.


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.