skipTrack.visualize {skipTrack}R Documentation

Visualize Results from skipTrack.fit

Description

This function takes results from skipTrack.fit and produces several helpful visualizations.

Usage

skipTrack.visualize(stFit)

Arguments

stFit

A list containing MCMC results obtained from skipTrack.fit.

Value

A list of three ggplot2 objects:

See Also

skipTrack.fit for generating MCMC results.

Examples

#Simulated data
simDat <- skipTrack.simulate(n = 100, skipProb = c(.7, .2, .1))

#Run model fit (should typically run with much more than 50 reps)
modFit <- skipTrack.fit(Y = simDat$Y, cluster = simDat$cluster, chains = 2, reps = 50)

#Visualize results
skipTrack.visualize(modFit)


[Package skipTrack version 0.1.0 Index]