i.jump.locator: Removing artefacts due to manual adjustments of dendrometers...

View source: R/i.jump.locator.R

i.jump.locatorR Documentation

Removing artefacts due to manual adjustments of dendrometers interactively

Description

Dendrometers generally have limited memory capacity beyond which it stops recording. To keep the measurement ongoing, they should be adjusted periodically, which can cause positive or negative jumps in the data. This function locates these artefacts and interactively adjusts them one by one.

Usage

i.jump.locator(df, TreeNum, v)

Arguments

df

dataframe with first column containing date and time in the format yyyy-mm-dd HH:MM:SS and the dendrometer data in following columns.

TreeNum

numerical value indicating the tree to be analysed. E.g. '1' refers to the first dendrometer data column in df.

v

numerical value which is considered as artefact. E.g. v=1 implies that if the difference to the consecutive data point is more than 1 or less than -1, it will be considered as an artefact.

Value

A dataframe containing jump-free dendrometer data.

Examples

library(dendRoAnalyst)
data(nepa)
jump_free_nepa<-i.jump.locator(df=nepa, TreeNum=1 ,v=1)
head(jump_free_nepa,10)


dendRoAnalyst documentation built on Nov. 16, 2022, 9:07 a.m.