plot_control: Plot Control

View source: R/util.R

plot_controlR Documentation

Plot Control

Description

This function creates a control plot for the used model based on the provided data and model results.

Usage

plot_control(data, model_result, title, color = "black")

Arguments

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.

Details

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

Value

A plot displaying the original ETR and Yield values and the regression data. A table below the plot shows the calculated data (alpha, ik...)

Examples

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")


pam documentation built on April 4, 2025, 2:12 a.m.

Related to plot_control in pam...