Hello,
 
I would like to draw the contour of a posterior distribution. However I only 
have simulated points from this posterior distribution.
So I estimate the density of my posterior distribution :
density(points)
I get the mean, the max, the median
I know I can plot this density estimate.
 
However if I try : contour(z=density(points))
It does not work.
How can I do that ?
 
Besides how I can get the value of my density estimate at one point ? when I 
try density(points)(vector), R tells me it is not a function.
 
Thank you very much.
_________________________________________________________________

météo et bien plus encore !

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to