plot.ca_result: plot method for 'ca_result' objects

Description Usage Arguments Details

View source: R/ca.R

Description

plot method for 'ca_result' objects

Usage

1
2
3
4
## S3 method for class 'ca_result'
plot(x, plotstates = c(TRUE, rep(FALSE,
  length(x$model$states) - 1)), snapshots = FALSE, cols = x$model$cols,
  lwd = 1, ...)

Arguments

x

An output object obtained from running function ca().

plotstates

A logical vector of the same length as x$model$states. TRUE activates plotting of other cell state populations.

cols

A vector of valid colors to replace the default color vector.

lwd

Line width for timeseries plot.

...

Parameters handed to standard plot function, e.g. 'bty', 'xlab'. See par.

Details

This prompts a (series of) summary plot for the simulation run. By default this is a timeseries of the primary cell state (i.e. the first state given in x$model$states).


caspr documentation built on May 2, 2019, 5:25 p.m.