R/00_mfd.R
lines_mfd.Rd
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 produced by link{plot_mfd}
A new multivariate functional data object of class mfd to be plotted.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
See plot_mfd
.
A plot of the multivariate functional data object added to the existing one.
library(funcharts)
library(ggplot2)
mfdobj1 <- data_sim_mfd()
mfdobj2 <- data_sim_mfd()
p <- plot_mfd(mfdobj1)
lines_mfd(p, mfdobj_new = mfdobj2)