plot.CRABS: Plots the rate functions including the pulled rates.

View source: R/plot.CRABS.R

plot.CRABSR 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)

afmagee/ACDC documentation built on Oct. 26, 2023, 10:44 a.m.