Displaying 1 result from an estimated 1 matches for "f95m".
Did you mean:
f95
2009 Aug 17
2
Polygon function
...to plot credible interval for a function estimate in R. I
would like to plot the credible intervals as shaded region using polygon
function. Does anyone ever used that? I tried several times but I could
not obtain the right figure.
xis=sort(xi,decreasing=TRUE)
plot(xi,fm)
polygon(c(xi,xis),c(f05m,f95m))
The above piece of code produces something else.
Many thanks in advance,
Aysun