Visualizes the result of a clustering strategy stored in a
caps object with
This function creates a visualization of the result of the k-mean alignment algorithm and invisibly returns the corresponding ggplot2::ggplot object which enable further customization of the plot. The user can choose to visualize either the amplitude information data in which case original and aligned curves are shown or the phase information data in which case the estimated warping functions are shown.
# S3 method for caps
autoplot(object, type = c("amplitude", "phase"), ...)
An object of class
A string specifying the type of information to display. Choices are
"amplitude"for plotting the original and aligned curves which represent amplitude information data or
"phase"for plotting the corresponding warping functions which represent phase information data. Defaults to
A ggplot2::ggplot object invisibly.