calculate_photosynthetic_induction_parameters: A function that calculates all photosynthetic induction...

View source: R/calculate_photosynthetic_induction_parameters.R

calculate_photosynthetic_induction_parametersR Documentation

A function that calculates all photosynthetic induction parameters of a single file.

Description

A function that calculates all photosynthetic induction parameters of a file. The input is a pathname. It slits the path into directories and the filename. It splits the filename into name parameters. It makes a title for the plots. It fits the data using other functions. It returns a list of the list of name parameters and the list of fitted parameters for both A and Ci.

Usage

calculate_photosynthetic_induction_parameters(
  pathname,
  manual_check = TRUE,
  save_plot = FALSE,
  decay_tail = FALSE,
  name_parameters = c("date", "description", "light", "relative humidity", "CO2",
    "species", "measurement", "plant")
)

Arguments

pathname

The licor file that will be analysed.

manual_check

A boolean that regulates if the fits are checked.

save_plot

A boolean that regulates if the plots are saved. Default is FALSE.

name_parameters

A character vector of the parameters in the filename. Default is a list of date description, light, relative humidity, CO2, species, measurement and plant.

Value

Returns a list with a list of the name parameters and a list of the fitted photosynthetic induction parameters

Author(s)

Sam Loontjens

Examples

pathname <- "input_directory_licorfiles/photosynthetic_induction_data/
             20210226 PI 50-100 75RH 400CO2 T.xlsx"
list_of_parameters <- calculate_photosynthetic_induction_parameters(pathname)


SamLoontjens/HandlingLicorFiles documentation built on Nov. 14, 2023, 6:32 a.m.