Skip to content
Prev 238762 / 398500 Next

Plot help

On 10/20/2010 08:34 PM, Peter Francis wrote:
Your problem is that they don't.
Hi Peter,
As the other Jim mentioned, the CIs for sim are very small and as far as 
I can see, the actual values are far outside the CIs, apart from some of 
the "essentially zero" values. Try this and you may see what I mean:

plot(sim,ylim=range(c(sim,actual)),
  main="sim vs actual",xlab="Family",type="b")
library(plotrix)
# if I try to plot a confidence band,
# it is so narrow it doesn't appear
dispersion(1:35,sim,simCI,col="red")
points(actual,pch=2,lty=2,col=4,type="b")

Jim