FillinInvariantColumns: FillinInvariantColumns

View source: R/StatusCorrection.R

FillinInvariantColumnsR Documentation

FillinInvariantColumns

Description

Fill the invariant columns in NewRow with their (unique) value

Usage

FillinInvariantColumns(NewRow, InvariantColumns, DataTree, IdTree)

Arguments

NewRow

The dataset to fill (data.table)

InvariantColumns

Vector with the names of the columns that are supposed to have always the same value for each measurement of the same tree (character)

DataTree

A dataset corresponding to a single tree/stem (1 IdTree/IdStem) measurements, with the invariant columns and their value (data.table)

IdTree

(character)

Value

The NewRow dataset with the invariant columns filled with their (unique) value


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