Learn R Programming

BeeGUTS (version 1.5.0)

traceplot: Plotting method for traces and densities for beeSurvFit objects

Description

This is the generic traceplot S3 method for the beeSurvFit class. It plots the traces with as well as the densities for the parameters of the GUTS IT or GUTS SD. The traceplot includes by default the warmup iterations, the density plot does not include them

Usage

traceplot(object, ..., incWarmup_trace = TRUE, incWarmup_dens = FALSE)

# S3 method for beeSurvFit traceplot(object, ..., incWarmup_trace = TRUE, incWarmup_dens = FALSE)

Value

A graphic with the traceplots and densities of the fit

Arguments

object

An object of class beeSurvFit to be plotted

...

Additional parameters to be parsed to generic rstan plot functions

incWarmup_trace

A logical indicating whether the warmup iterations should be plotted in the traceplot (default TRUE)

incWarmup_dens

A logical indicating whether the warmup iterations should be plotted in the density plot (default FALSE)

Examples

Run this code
data(fitBetacyfluthrin_Chronic)
traceplot(fitBetacyfluthrin_Chronic)

Run the code above in your browser using DataLab