View source: R/calculate_all_light_response_parameters.R
calculate_all_light_response_parameters | R Documentation |
A function that calculates all light response curve parameters for all files. The directory it reads is "input_directory_licorfiles/light_response_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 light response data directory and run just one line to fit all the data.
calculate_all_light_response_parameters(
manual_check = TRUE,
write_excel = FALSE,
write_folder = "output_directory_licorfiles/excel_files/",
save_plots = FALSE,
save_path = "output_directory_licorfiles/light_response_plots/",
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 regulates is the plots are saved. |
save_path |
A pathname where to save the plots if save_plots is TRUE. |
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_light_response_parameters()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.