PlotStates {grove} | R Documentation |
Function to plot the hidden states
Description
This function plots on a tree the state of each latent variables.
Usage
PlotStates(grove.obj, block = "Intercept", legend = FALSE, main = NULL,
prior = FALSE)
Arguments
grove.obj |
Output from function |
block |
Which block to plot. |
legend |
If |
main |
Main title. |
prior |
If |
Value
A plot.
Examples
## Not run:
data <- GenerateSyntheticAnova(st.dev = 5, n.replicates = 5)
W <- DWT(data$noisy.Y)
X <- data$X
ans <- FAnova(W, X, ~ 1 + factorA + factorB)
PlotStates(ans)
PlotStates(ans, block = "factorA")
PlotStates(ans, block = "factorB")
## End(Not run)
[Package grove version 1.1.1 Index]