Learn R Programming

pam (version 2.0.0)

eilers_peeters_modified: Eilers & Peeters Model Modification

Description

This function enhances the Eilers and Peeters (1988) model by adding parameters not originally included in the model, which were introduced by other models. It also renames parameters to a standardized naming convention used across all models.

Usage

eilers_peeters_modified(model_result)

Value

A modified model result as a list with the following elements:

  • etr_type: ETR Type based on the model result.

  • etr_regression_data: Regression data with ETR predictions based on the fitted model.

  • residual_sum_of_squares: Difference between observed and predicted ETR values, expressed as the sum of squared residuals.

  • root_mean_squared_error: Difference between observed and predicted ETR values, expressed as the root mean squared error.

  • relative_root_mean_squared_error: Difference between observed and predicted ETR values, expressed as the relative root mean squared error, normalized by the mean.

  • a: The obtained parameter a.

  • b: The obtained parameter b.

  • c: The obtained parameter c.

  • d: Not available, set to NA_real_.

  • alpha: The initial slope of the light curve, transferred unchanged as s.

  • beta: Not available, set to NA_real_.

  • etrmax_with_photoinhibition: The maximum electron transport rate with photoinhibition, transferred as pm.

  • etrmax_without_photoinhibition: Not available, set to NA_real_.

  • ik_with_photoinhibition: PAR where the transition point from light limitation to light saturation is achieved with photoinhibition, transferred as ik.

  • ik_without_photoinhibition: Not available, set to NA_real_.

  • im_with_photoinhibition: The PAR at which the maximum electron transport rate is achieved with photoinhibition, transferred as im.

  • w: The sharpness of the peak, transferred as w.

  • ib: Not available, set to NA_real_.

  • etrmax_with_without_ratio: Not available, set to NA_real_.

Arguments

model_result

A list containing the model result (e.g. from eilers_peeters_generate_regression_ETR_II()).

Details

A detailed documentation can be found under https://github.com/biotoolbox/pam?tab=readme-ov-file#eilers_peeters_modified

Examples

Run this code
path <- file.path(system.file("extdata", package = "pam"), "20240925.csv")
data <- read_dual_pam_data(path)

result <- eilers_peeters_generate_regression_ETR_II(data)
modified_result <- eilers_peeters_modified(result)

Run the code above in your browser using DataLab