plot_states {segclust2d} | R Documentation |
Plot states statistics
Description
plot_states
plot states statistics
Usage
plot_states(outputs, diag.var, position_width = 0.3, order = FALSE)
Arguments
outputs |
outputs of the segmentation or segclust algorithm for one number of segment |
diag.var |
names of the variables on which statistics are calculated |
position_width |
width between different model if several models are compared |
order |
should cluster be ordered |
Value
a graph
Examples
## Not run:
#res.segclust is the results of the segmentation-clustering algorithm
ncluster = 3
nseg = 10
g <- plot_states(output = res.segclust$outputs[[
paste(ncluster,"class -",nseg, "segments")
]],
diag.var = c("dist","angle2")
#res.seg is the results of the segmentation-only algorithm
nseg = 10
g <- plot_states(output = res.segclust$outputs[[paste(nseg, "segments")]],
diag.var = c("dist","angle2"))
## End(Not run)
[Package segclust2d version 0.3.3 Index]