prepLightData: Trimming a Data Frame to Entries with Light and Age...

Description Usage Arguments Value

Description

This is a cheap little function I made that trims TreesCA or similar to only entries with both CLIGHTCD and BHAGE, and converts CLIGHTCD into a more appropate 0-100 style percentage of light. Finally, it calculates the diameter increase per year for each tree by dividing DIA by BHAGE. It returns a dataframe with light and diayr columns.

Usage

1
prepLightData(treedb)

Arguments

treedb

The TreesCA dataframe or similar. No customization options available.

Value

This function returns a dataframe with light and diayr response columns.


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