Plot Method for beezdemand_fixed
# S3 method for beezdemand_fixed
plot(
x,
type = c("demand", "population", "individual", "both"),
ids = NULL,
style = c("modern", "apa"),
show_observed = TRUE,
show_pred = NULL,
x_trans = c("log10", "log", "linear", "pseudo_log"),
y_trans = NULL,
free_trans = 0.01,
x_limits = NULL,
y_limits = NULL,
n_points = 200,
x_lab = NULL,
y_lab = NULL,
xlab = NULL,
ylab = NULL,
facet = NULL,
observed_point_alpha = 0.5,
observed_point_size = 1.8,
pop_line_alpha = 0.9,
pop_line_size = 1,
ind_line_alpha = 0.35,
ind_line_size = 0.7,
subtitle = NULL,
...
)A ggplot2 object.
A beezdemand_fixed object.
Plot type: "demand", "population", "individual", or "both".
Optional vector of subject IDs to plot. Defaults to all subjects.
Plot styling, passed to theme_beezdemand().
Logical; if TRUE, overlay observed data points where possible.
Which prediction layers to plot: "population", "individual", or "both".
X-axis transform: "log", "log10", "linear", or "pseudo_log".
Y-axis transform: "log", "log10", "linear", or "pseudo_log".
Value used to display free (x = 0) on log scales. Use NULL to drop x <= 0 values instead.
Optional numeric vector of length 2 for x-axis limits.
Optional numeric vector of length 2 for y-axis limits.
Number of points to use for prediction curves when thinning.
Optional x-axis label.
Optional y-axis label.
Deprecated alias for x_lab.
Deprecated alias for y_lab.
Faceting specification (TRUE for ~id or a formula).
Alpha for observed points.
Size for observed points.
Alpha for population curve.
Line size for population curve.
Alpha for individual curves.
Line size for individual curves.
Optional subtitle for the plot.
Additional arguments (currently unused).