transformToWideFormat: Transform LAI data to wide format (1 row per PlotID)

View source: R/sunscan_functions.R

transformToWideFormatR Documentation

Transform LAI data to wide format (1 row per PlotID)

Description

Each PlotID has only one row where each individual LAI measurements is in an own column. Number of columns is determined by the maxiumum number of measurements per PlotID. Measurements are populated from left to right and filled up by NAs.

Usage

transformToWideFormat(data, deleted = FALSE)

Arguments

data

data.frame with LAI data

deleted

include measurements marked as deleted

Value

data.frame in wide format


gk-crop/sunscanimport documentation built on Feb. 8, 2025, 3:15 p.m.