Plot substance curve for several simulations

Share:

Description

The function plotSubCurve takes a list of simulations and plots the time course of substances with standard deviation.

Usage

1
2
plotSubCurve(simlist, mediac = NULL, time = c(NULL, NULL), scol = NULL,
  unit = "mmol", ret_data = FALSE, num_var = 10)

Arguments

simlist

A list of simulations (eval objects).

mediac

A vector of substances (if not specified most varying substances will be taken.)

time

Vector with two entries defining start and end time.

scol

Vector with colors that should be used.

unit

Unit for the substances which should be used for plotting (default: mmol)

ret_data

Set true if data should be returned

num_var

Number of varying substances to be shown (if mediac is not specified)

Value

list of three ggplot object for further formating

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.