LifeStatusCorrectionPlot: Plot life status correction result

View source: R/LifeStatusCorrectionPlot.R

LifeStatusCorrectionPlotR Documentation

Plot life status correction result

Description

Plot life status correction result

Usage

LifeStatusCorrectionPlot(Data, OnlyCorrected = FALSE, SeveralWindows = TRUE)

Arguments

Data

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

  • IdTree (character)

  • Year (numeric)

  • LifeStatus (logical or character)

  • LifeStatus_TreeDataCor (logical or character)

OnlyCorrected

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

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/IdTree

Examples


## Not run: 
pdf("LifeStatusCorrectionPlots.pdf", width = 25, height = 10)
LifeStatusCorrectionPlot(Rslt, SeveralWindows = FALSE)
dev.off()

## End(Not run)


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