plot_lmd {LMD} | R Documentation |
Method for plotting Product Functions (PFs) and Residue
plot_lmd(
lmd_obj,
max_pf = length(lmd_obj[["pf"]]),
show_residue = TRUE,
pricolor_plot = "midnightblue",
line_size_plot = 1
)
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 |
ggplot plot for Product Functions (PFs) and Residue
Shubhra Prakash, shubhraprakash279@gmail.com
x=1:100
y = (2 / 3 )* sin(x * 30) + (2 / 3) * sin(x * 17.5) + (4 / 5) *cos(x * 2)
plot_lmd(lmd(y))