Learn R Programming

BaSTA (version 2.0.0)

bastaCMRout: Output from a Bayesian Survival Trajectory Analysis (BaSTA) analysis on a simulated capture-mark-recapture (CMR) dataset.

Description

This dataset is the output of a BaSTA analysis on the simulated dataset bastaCMRdat. The analysis consisted of four independent simulations run in parallel. Each simulation was run for 20,000 iterations. The model chosen was Gompertz (“GO”) with the shape argument set to “simple” and covarStruct set to “fused”.

Usage

data("bastaCMRout")

Arguments

Format

A BaSTA output list (see details in basta).

Examples

Run this code
## Load BaSTA output:
data("bastaCMRout", package = "BaSTA")

## Plot traces for survival parameters:
plot(bastaCMRout)

## Plot posterior densities of survival parameters:
plot(bastaCMRout, densities = TRUE)

## Plot traces for proportional hazards parameter:
plot(bastaCMRout, trace.name = "gamma")

## Plot survival and mortality curves:
plot(bastaCMRout, plot.type = "demorates")

Run the code above in your browser using DataLab