plotArray: Plot an array of trajectories along the profile of a...

plotArrayR Documentation

Plot an array of trajectories along the profile of a parameter

Description

Plot an array of trajectories along the profile of a parameter

Usage

plotArray(
  par,
  profs,
  prd,
  times,
  direction = c("up", "down"),
  covtable,
  ...,
  nsimus = 4
)

Arguments

par

Character of parameter name for which the array should be generated.

profs

Lists of profiles as being returned by profile.

prd

Named list of matrices or data.frames, usually the output of a prediction function as generated by Xs.

times

Numeric vector of time points for the model prediction.

direction

Character "up" or "down" indicating the direction the value should be traced along the profile starting at the bestfit value.

covtable

Optional covariate table or condition.grid necessary if subsetting is required.

...

Further arguments for subsetting the plot.

nsimus

Number of trajectories/ simulation to be calculated.

Value

A plot object of class ggplot.

Author(s)

Svenja Kemmer, svenja.kemmer@fdm.uni-freiburg.de

Examples

## Not run: 
 plotArray("myparameter", myprofiles, g*x*p, seq(0, 250, 1), 
    "up", condition.grid, name == "ProteinA" & condition == "c1") 

## End(Not run)

dkaschek/dMod documentation built on April 23, 2024, 5:18 p.m.