local.heights: local.heights

View source: R/local_heights.r

local.heightsR Documentation

local.heights

Description

Wrapper function for estimating heights using local allometric equations.

Usage

local.heights(
  xdataset,
  dbh = "D4",
  use.height.constrain = FALSE,
  max.size = 80,
  thresh = 20,
  na.too.big = FALSE,
  laser.cor = FALSE,
  no.plot = TRUE
)

Arguments

xdataset

Object returned by mergefp.

dbh

Character giving the name of the column contining the diameter measurements. Defaults to "D4".

use.height.constrain

Logical. Should height constrain function be used when selecting best model. Defaul is FALSE.

max.size

max.size argument to height.constrain.

thresh

thresh argument to fit.weib.models.

na.too.big

na.too.big argumet to height.constrain.

laser.cor

Logical. Should laser heights be adjusted to correct for bias. Default is FALSE.

no.plot

Logial. Should the best parameters exclude plot and cluster level. Default is TRUE.

Value

Dataframe with best parameters for height-diameter models for each row in xdataset.

Author(s)

Martin Sullivan


ForestPlots/BiomasaFP documentation built on April 28, 2023, 8:26 a.m.