dtwclust
ggplot2
plotting
system.## S3 method for class 'dtwclust,missing':
plot(x, y, ..., clus = seq_len(x@k),
labs.arg = NULL, data = NULL, time = NULL, plot = TRUE)
dtwclust-class
as returned by dtwclust
.geom_line
for the plotting of the
cluster centers. Default values are: linetype = "dashed"
, size = 1.5
,
colour = "black"
labs
for more
informationdtwclust
.FALSE
in case you want to save the ggplot object without
printing anything to screengg
object invisibly.save.data
should be set to TRUE
when running dtwclust
to be able to
use this. Optionally, you can manually provide the data in the data
parameter.The function returns the gg
object invisibly, in case you want to modify it to your liking. You
might want to look at ggplot_build
if that's the case.
dtwclust-class
, dtwclust
, ggplot