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

Description Usage Arguments Value

View source: R/prepLightData.R

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.


davis-research/MakeMyForests documentation built on May 21, 2019, 11:40 a.m.