plot_control | R Documentation |
This function creates a control plot for the used model based on the provided data and model results.
plot_control(data, model_result, title, color = "black")
data |
A 'data.table' containing the original ETR and yield data for the plot. |
model_result |
A list containing the fitting results of the used model and the calculated paramters (alpha, ik...). |
title |
A character string that specifies the title of the plot. |
color |
A color specification for the regression line in the plot. |
A detailed documentation can be found under https://github.com/biotoolbox/pam?tab=readme-ov-file#plot_control
A plot displaying the original ETR and Yield values and the regression data. A table below the plot shows the calculated data (alpha, ik...)
path <- file.path(system.file("extdata", package = "pam"), "20240925.csv")
data <- read_dual_pam_data(path)
result <- eilers_peeters_generate_regression_ETR_I(data)
plot_control(data, result, "Control Plot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.