step1_plot_pred {AccelStab}R Documentation

Plot Model Predictions

Description

Plot the stability data and visualise the predictions.

Usage

step1_plot_pred(
  step1_down_object,
  xname = NULL,
  yname = NULL,
  xlim = NULL,
  ylim = NULL
)

Arguments

step1_down_object

The fit object from the step1.down function (required).

xname

Label for the x-axis (optional).

yname

Label for the y-axis (optional).

xlim

x-axis limits (optional).

ylim

y-axis limits (optional).

Details

Use the fit object from the step1.down function to plot the accelerated stability data and visualise the predictions.

Value

Plot of accelerated stability data with prediction curves.

Examples

#load antigenicity data
data(antigenicity)

fit1 <- step1_down(data = antigenicity, y = "conc", .time = "time",
 C = "Celsius", max_time_pred = 3)

step1_plot_pred(step1_down_object = fit1, xlim = NULL, ylim = NULL,
 xname = "Time (Years)", yname = "Concentration")


[Package AccelStab version 2.0.1 Index]