I'm using ggplot and geom_denisty in R to estimate density function for different factors:
gg2 + geom_density(aes(fill=factor(wb)), bw=0.002 , alpha=0.8) + xlim(c(-0.03, 0.03)) + labs(title="Density estimation plot", x="x")
resulting in the following plot:
Now I like to get the likelihoods (the estimated densities) for a specific x-value for each density function. Actually, I then like to compare the likelihoods to create a likelihood ratio. How do I do that? Where do I found the numbers from which the plot has been produced?