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

View source: R/calculate_all_photosynthetic_induction_parameters.R

calculate_all_photosynthetic_induction_parametersR Documentation

A function that calculates all photosynthetic induction parameters for multiple files.

Description

A function that calculates all photosynthetic induction parameters for all files. The directory it reads is "input_directory_licorfiles/photosynthetic_induction_data/". For all the files it calculates all the parameters. It returns a dataframe with all the parameters.

This makes it easy to drop files in the photosynthetic induction data directory and run just one line to fit all the data.

Usage

calculate_all_photosynthetic_induction_parameters(
  manual_check = TRUE,
  write_excel = FALSE,
  write_folder = "output_directory_licorfiles/excel_files/",
  save_plots = FALSE,
  decay_tails = FALSE,
  name_parameters = c("date", "description", "light", "relative humidity", "CO2",
    "species", "measurement", "plant")
)

Arguments

manual_check

A boolean that regulates if the fits are checked.

write_excel

A boolean that regulates if the dataframe is written to an excel file.

write_folder

a string of the foldername for writing excel files.

save_plots

A boolean that handles if the plots get saved. FALSE default.

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 dataframe with all the parameters.

Author(s)

Sam Loontjens

Examples

mydata <- calculate_all_photosynthetic_induction_parameters()


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