View source: R/plot.CRABSset.R
print.CRABSset | R Documentation |
Print method for CRABSset object
## S3 method for class 'CRABSset'
print(x, ...)
x |
an object of class CRABSset |
... |
other arguments |
nothing
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)
mus <- list(function(t) 0.2 + exp(0.01*t),
function(t) 0.2 + sin(0.35*t) + 0.1*t,
function(t) 1.0,
function(t) 0.5 + 0.2*t)
models <- congruent.models(model, mus = mus)
print(models)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.