plot.CRABS {CRABS} | R Documentation |
Plots the rate functions including the pulled rates.
Description
Plots the rate functions including the pulled rates.
Usage
## S3 method for class 'CRABS'
plot(x, ...)
Arguments
x |
An object of class "CRABS" |
... |
other parameters |
Value
a patchwork object
Examples
data(primates_ebd)
lambda <- approxfun(primates_ebd$time, primates_ebd$lambda)
mu <- approxfun(primates_ebd$time, primates_ebd$mu)
times <- seq(0, max(primates_ebd$time), length.out = 500)
model <- create.model(lambda, mu, times = times)
plot(model)
[Package CRABS version 1.2.0 Index]