plot_metric: Plotting different metrics

View source: R/main-plot.R

plot_metricR Documentation

Plotting different metrics

Description

Either tols or num_steps has to be NULL.

Usage

plot_metric(values, name, tols = NULL, num_steps = NULL)

plot_pareto_k(reliability, tols = NULL, num_steps = NULL)

plot_r_eff(reliability, tols = NULL, num_steps = NULL)

plot_mad(reliability, tols = NULL, num_steps = NULL, loglik = FALSE)

Arguments

values

A numeric vector of metric values.

name

Name of metric

tols

A numeric vector of tolerances. Must have same length as values.

num_steps

A numeric vector of step amounts. Must have same length as values.

reliability

The list returned by the ⁠$reliability()⁠ method of OdeModelFit class.

loglik

If TRUE, the maximum absolute difference in log likelihoods is plotted. Otherwise the maximum absolute difference in ODE solutions is plotted (default).

Functions

  • plot_metric(): Plot a generic metric.

  • plot_pareto_k(): Plot pareto-k metric.

  • plot_r_eff(): Plot relative efficiency.

  • plot_mad(): Plot maximum absolute difference.


jtimonen/odemodeling documentation built on Sept. 15, 2024, 4:29 a.m.