plot_states: Plot states statistics

View source: R/function_states_plot.R

plot_statesR 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)

segclust2d documentation built on Aug. 21, 2023, 9:10 a.m.