Learn R Programming

BaSTA (version 2.0.0)

bastaCensOut: Output from a Bayesian Survival Trajectory Analysis (BaSTA) analysis on a simulated census dataset.

Description

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

Usage

data("bastaCensOut")

Arguments

Format

A BaSTA output list (see details in basta).

Examples

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

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

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

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

Run the code above in your browser using DataLab