View source: R/calculate_all_photosynthetic_induction_parameters.R
calculate_all_photosynthetic_induction_parameters | R Documentation |
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.
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")
)
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 |
Returns a dataframe with all the parameters.
Sam Loontjens
mydata <- calculate_all_photosynthetic_induction_parameters()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.