assignSubplots: Assigns the Correct Subplot Identity to Subplots

Description Usage Arguments Value

Description

This is a helper function to clean up the result from buildBoxes. It'll be wrapped up eventually.

Usage

1
assignSubplots(df, subplotdf)

Arguments

df

This is the major trees data.frame. It holds individual tree records, like in expandedTrees.

subplotdf

This is the data.frame generated by buildBoxes, it has POINT_X, POINT_Y, and Subplot; Subplot will be overwritten by this function.

Value

This function returns a copy of subplotdf, with new values in Subplot.


ecology-rocks/disperseR documentation built on May 15, 2019, 7:58 p.m.