autoplot.caps | R Documentation |
caps
object with
ggplot2This 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 class 'caps'
autoplot(object, type = c("amplitude", "phase"), ...)
object |
An object of class |
type |
A string specifying the type of information to display. Choices
are |
... |
Not used. |
A ggplot2::ggplot object invisibly.
ggplot2::autoplot(sim30_caps, type = "amplitude")
ggplot2::autoplot(sim30_caps, type = "phase")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.