plot-methods: Plot the state probability for a fitted MBASIC model.

Description Usage Arguments Details Value Author(s)

Description

Plot the state probability for a fitted MBASIC model.

Usage

1
2
3
4
## S4 method for signature 'MBASICFit,missing'
plot(x, y = numeric(0), state = 1,
  slot = "Theta", xlab = NULL, ylab = NULL, main = NULL, Rowv = FALSE,
  Colv = FALSE, trace = "none", dendrogram = "none", ...)

Arguments

x

An MBASICFit object.

y

Missing.

state

The probability for this state is plotted.

slot

The slot to be plotted, "Theta" (default), "W", "Mu", or "Sigma".

xlab

The x-axis label.

ylab

The y-axis label.

main

The title.

Rowv,Colv,trace,dendrogram,...

Other arguments passed to heatmap.2.

...

Other arguments passed to the function heatmap.2.

Details

This function provides four differerent kinds of plots.
If slot='Theta', a heatmap for the probability for each unit to have state state under each condition is drawn.
If slot='W', a heatmap for the probability for each cluster to have state state under each condition is drawn.
If slot='Mu' or 'Sigma', the range of the fitted 'Mu' or 'Sigma' parameters among different replicates for the same condition is drawn.

Value

A heatmap showing the probability for a given state.

Author(s)

Chander Zuo zuo@stat.wisc.edu


chandlerzuo/mbasic documentation built on May 13, 2019, 3:24 p.m.