% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{combo_plot_control}
\alias{combo_plot_control}
\title{Combined ETR Plot and Summary Table}
\usage{
combo_plot_control(title, data, model_results, name_list, color_list)
}
\arguments{
\item{title}{Character. Plot title.}

\item{data}{Data frame. ETR and PAR data.}

\item{model_results}{List. Regression data and parameters.}

\item{name_list}{List. Names for models (legend and table).}

\item{color_list}{List. Colors for model lines.}
}
\value{
A plot with ETR data, regression results, and a summary table.
}
\description{
Generates a plot of ETR data with different regression model predictions and a summary table.
}
\details{
A detailed documentation can be found under \url{https://github.com/biotoolbox/pam/tree/main#functions}.
}
\examples{
path <- file.path(system.file("extdata/dual_pam_data", package = "pam"), "20240925.csv")
data <- read_dual_pam_data(path)

model_results_eilers_peeters <- eilers_peeters_generate_regression_ETR_II(data)
model_results_eilers_peeters_modified <- eilers_peeters_modified(model_results_eilers_peeters)

model_results_platt <- platt_generate_regression_ETR_II(data)
model_results_platt_modified <- platt_modified(model_results_platt)

model_results <- list(model_results_eilers_peeters_modified, model_results_platt_modified)
name_list <- list("Eilers-Peeters", "Platt")
color_list <- list("red", "pink")
plot <- combo_plot_control("test", data, model_results, name_list, color_list)

}
