This function takes a standard data frame as input and creates a list of forest objects

sf2forest(
  input_df,
  filterNA,
  filterDead,
  minDBH,
  filterminDBH,
  setDefaults,
  .verbose = TRUE
)

Arguments

input_df

Standard data frame generated using package esus.

filterNA

Boolean flag. If TRUE records with missing values for DBH or Height are eliminated.

filterDead

Boolean flag. If TRUE only records of live tree are kept.

minDBH

Min DBH value to keep.

filterminDBH

Boolean flag. If TRUE records are eliminated below minDBH

setDefaults

set defaults param for roots

.verbose

A boolean flag to indicate console output

Value

A list of forest objects.