lines_mfd {funcharts} | R Documentation |
Add the plot of a new multivariate functional data object to an existing plot.
Description
Add the plot of a new multivariate functional data object to an existing plot.
Usage
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,
...
)
Arguments
plot_mfd_obj |
A plot produced by |
mfdobj_new |
A new multivariate functional data object of class mfd to be plotted. |
mapping |
See |
data |
See |
stat |
See |
position |
See |
na.rm |
See |
orientation |
See |
show.legend |
See |
inherit.aes |
See |
type_mfd |
See |
y_lim_equal |
See |
... |
See |
Value
A plot of the multivariate functional data object added to the existing one.
Examples
library(funcharts)
library(ggplot2)
mfdobj1 <- data_sim_mfd()
mfdobj2 <- data_sim_mfd()
p <- plot_mfd(mfdobj1)
lines_mfd(p, mfdobj_new = mfdobj2)
[Package funcharts version 1.5.0 Index]