# NOT RUN {
x <- rnorm(1000, mean = 0.5, sd = 0.5)
y <- rnorm(750, mean = -0.5, sd = 0.75)
plt <- PDEplot(x, color = "red")$ggPlot
plt <- PDEplot(y, color = "blue", ggPlot = plt)$ggPlot
# Second Example
# }
# NOT RUN {
ggplotObj=ggplot()
for(i in 1:length(Variables))
ggplotObj=PDEplot(Data[,i],ggPlot = ggplotObj)$ggPlot
# }
Run the code above in your browser using DataLab