DiameterCorrectionPlot: Plot diameter correction result

View source: R/DiameterCorrectionPlot.R

DiameterCorrectionPlotR Documentation

Plot diameter correction result

Description

Plot diameter correction result

Usage

DiameterCorrectionPlot(
  Data,
  OnlyCorrected = FALSE,
  CorCol = "Diameter_TreeDataCor",
  SeveralWindows = TRUE
)

Arguments

Data

Dataset (data.frame or data.table) The dataset must contain the columns:

  • IdStem (character)

  • Year (numeric)

  • Diameter (numeric)

  • DBHCor (numeric)

  • HOM (Height Of Measurement) (numeric)

  • HOMCor (Corrected Height Of Measurement) (numeric)

OnlyCorrected

TRUE: plot only corrected stems, FALSE: plot all stems (logical)

CorCol

Corrected column name (character)

SeveralWindows

TRUE: return each page in a new window (better visualisation in Rstudio), FALSE: return each page in the same window (needed to save all the pages) (logical)

Value

The plots of the initial diameter values and proposed corrections, by IdStem.

Examples


## Not run: 
pdf("DiameterCorrectionPlots_TestData.pdf", width = 25, height = 10)
DiameterCorrectionPlot(Rslt, OnlyCorrected = TRUE, SeveralWindows = FALSE)
dev.off()

## End(Not run)


VincyaneBadouard/TreeData documentation built on Jan. 4, 2024, 2:56 a.m.