plot_segm plot segmented time serie.

plot_segm(
  data,
  output,
  interactive = FALSE,
  diag.var,
  x_col = "expectTime",
  html = FALSE,
  order = FALSE,
  stationarity = FALSE
)

Arguments

data

the data.frame with the different variable

output

outputs of the segmentation or segclust algorithm for one number of segment

interactive

should graph be interactive through leaflet ?

diag.var

names of the variables on which statistics are calculated

x_col

column name for time

html

should the graph be incorporated in a markdown file through htmltools::tagList()

order

should cluster be ordered

stationarity

if TRUE, cut each segment in three and plot each part with its own mean to assess stationarity of each segment

Value

a graph

Examples