# Identify limiting processes in an example curve
example_curve <- exdf(
data.frame(
A_fit = c(1.0, 2.0, 3.0, 4.0, 4.0),
Ac = c(1.0, 2.0, 5.0, 8.0, 9.0),
Aj = c(2.0, 2.5, 3.0, 4.0, 8.0),
Ap = c(NA, NA, 4.0, 4.0, 4.0)
),
units = data.frame(
A_fit = 'micromol m^(-2) s^(-1)',
Ac = 'micromol m^(-2) s^(-1)',
Aj = 'micromol m^(-2) s^(-1)',
Ap = 'micromol m^(-2) s^(-1)',
stringsAsFactors = FALSE
)
)
identify_c3_limiting_processes(example_curve)
# This function also works for data frames
identify_c3_limiting_processes(example_curve$main_data)
Run the code above in your browser using DataLab