# Read an example Licor file included in the PhotoGEA package
licor_file <- read_gasex_file(
PhotoGEA_example_file_path('ball_berry_1.xlsx')
)
# Calculate the average assimilation and stomatal conductance values for each
# species. (Note: this is not a meaningful calculation!)
basic_stats(
licor_file[ , c('species', 'K', 'A', 'gsw'), TRUE],
'species'
)
Run the code above in your browser using DataLab