initialize-sfn_data-method: Initialize method for sfn_data

initialize,sfn_data-methodR Documentation

Initialize method for sfn_data

Description

Initialize an sfn_data object

Usage

## S4 method for signature 'sfn_data'
initialize(
  .Object,
  sapf_data,
  env_data,
  sapf_flags,
  env_flags,
  si_code,
  timestamp,
  solar_timestamp,
  site_md,
  stand_md,
  species_md,
  plant_md,
  env_md
)

Arguments

.Object

sfn_data object to create

sapf_data

A tibble (or any object coercible to one) with the sapf_data (without the TIMESTAMP variable)

env_data

A tibble (or any object coercible to one) with the env_data (without the TIMESTAMP variable)

sapf_flags

A tibble (or any object coercible to one) with the same dimensions of sapf_data with the flag info for each tree/TIMESTAMP combination

env_flags

A tibble (or any object coercible to one) with the same dimensions of env_data with the flag info for each env_var/TIMESTAMP combination

si_code

A character vector of length one indicating the site code

timestamp

A POSIXct vector of length nrow(sapf_data) with the timestamp

solar_timestamp

A POSIXct vector of length nrow(sapf_data) with the solar timestamp

site_md

A tibble (or any object coercible to one) containing the site metadata

stand_md

A tibble (or any object coercible to one) containing the stand metadata

species_md

A tibble (or any object coercible to one) containing the species metadata

plant_md

A tibble (or any object coercible to one) containing the plant metadata

env_md

A tibble (or any object coercible to one) containing the env metadata


sapfluxnetr documentation built on Feb. 16, 2023, 7:52 p.m.