View source: R/combo_plot_control.R
combo_plot_control | R Documentation |
Generates a plot of ETR data with different regression model predictions and a summary table.
combo_plot_control(title, data, model_results, name_list, color_list)
title |
Character. Plot title. |
data |
Data frame. ETR and PAR data. |
model_results |
List. Regression data and parameters. |
name_list |
List. Names for models (legend and table). |
color_list |
List. Colors for model lines. |
A detailed documentation can be found under https://github.com/biotoolbox/pam?tab=readme-ov-file#combo_control_plot.
A plot with ETR data, regression results, and a summary table.
#' @examples path <- file.path(system.file("extdata", package = "pam"), "20240925.csv") data <- read_dual_pam_data(path)
model_results_eilers_peeters <- eilers_peeters_generate_regression_ETR_I(data) model_results_platt <- platt_generate_regression_ETR_I(data) model_results <- list(eilers_peeters_modified(model_results), platt_modified(model_results)) name_list <- c("Eilers-Peeters", "Platt") color_list <- c("red", "pink") plot <- combo_plot_control("test", data, model_results, name_list, color_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.