plot_model_curve: Plot the model curve with predicted PAM values and confidence...

View source: R/experimental-features.R

plot_model_curveR Documentation

Plot the model curve with predicted PAM values and confidence intervals.

Description

Plot the model curve with predicted PAM values and confidence intervals.

Usage

plot_model_curve(
  cbass_dataset,
  grouping_properties = c("Site", "Condition", "Species", "Timepoint"),
  drm_formula = "Pam_value ~ Temperature",
  faceting_model = "Species ~ Site ~ Condition",
  size_text = 12,
  size_points = 2
)

Arguments

cbass_dataset

A data frame containing the dataset to be processed.

grouping_properties

A character vector of column names to be used for grouping. Default: c("Site", "Condition", "Species", "Timepoint").

drm_formula

A formula object specifying the dose-response model. Default: "Pam_value ~ Temperature".

faceting_model

A formula specifying the faceting of the plot. Default: "Species ~ Site ~ Condition".

size_text

Default: 12. A formula specifying the faceting of the plot.

size_points

Default: 2. A formula specifying the faceting of the plot.

Value

A ggplot object representing the model curve with predicted PAM values.

Examples

data(cbass_dataset)

model_curve_plot <- plot_model_curve(cbass_dataset)

CBASSED50 documentation built on June 8, 2025, 10:27 a.m.