powered by
Add the plot of a new multivariate functional data object to an existing plot.
lines_mfd( plot_mfd_obj, mfdobj_new, mapping = NULL, data = NULL, stat = "identity", position = "identity", na.rm = TRUE, orientation = NA, show.legend = NA, inherit.aes = TRUE, type_mfd = "mfd", y_lim_equal = FALSE, ... )
A plot of the multivariate functional data object added to the existing one.
A plot produced by link{plot_mfd}
link{plot_mfd}
A new multivariate functional data object of class mfd to be plotted.
See plot_mfd.
plot_mfd
library(funcharts) library(ggplot2) mfdobj1 <- data_sim_mfd() mfdobj2 <- data_sim_mfd() p <- plot_mfd(mfdobj1) lines_mfd(p, mfdobj_new = mfdobj2)
Run the code above in your browser using DataLab