parse_forestable {medfateland}R Documentation

Parse forestable

Description

Transforms a data frame or sf object issued from package forestables into an sf object for simulations with medfateland.

Usage

parse_forestable(
  x,
  keepSpeciesCodes = TRUE,
  filterDeadTrees = TRUE,
  filterCutTrees = TRUE,
  minimumTreeDBH = 0.1,
  progress = FALSE
)

Arguments

x

A data frame or sf object issued from package forestables.

keepSpeciesCodes

Keeps forest inventory species codes.

filterDeadTrees

If TRUE, filters out dead trees (Spanish forest inventory IFN3 or IFN4).

filterCutTrees

If TRUE, filters out cut trees (Spanish forest inventory IFN3 or IFN4).

minimumTreeDBH

Minimum DBH for keeping a tree record.

progress

A logical flag to include a progress bar while processing the data.

Details

This function retrieves the following information from the forestables object:

Value

An sf object including a 'forest' column


[Package medfateland version 2.4.5 Index]