plot_lmd {LMD} | R Documentation |
LMD Plot
Description
Method for plotting Product Functions (PFs) and Residue
Usage
plot_lmd(
lmd_obj,
max_pf = length(lmd_obj[["pf"]]),
show_residue = TRUE,
pricolor_plot = "midnightblue",
line_size_plot = 1
)
Arguments
lmd_obj |
LMD object created from LMD function |
max_pf |
Number of PFs to Plot |
show_residue |
Whether to plot residue or not |
pricolor_plot |
color of plots |
line_size_plot |
Size of line in ggplot |
Value
ggplot plot for Product Functions (PFs) and Residue
Author(s)
Shubhra Prakash, shubhraprakash279@gmail.com
Examples
x=1:100
y = (2 / 3 )* sin(x * 30) + (2 / 3) * sin(x * 17.5) + (4 / 5) *cos(x * 2)
plot_lmd(lmd(y))
[Package LMD version 1.0.0 Index]