[R] Hypothesis "RayosRayos.2 = (Intercept)" is not well formed: contains bad coefficient/variable names.

2012-11-04 Thread Jean Jang
Hi R-listers, I am trying to do this function amongst others for a Chi-sq test in > require(multcomp) for some reason it is not working but all of the other functions have work. What does this error mean and how do I fix it? Jean > linearHypothesis(model.rayos.C, "RayosRayos.2 = (Interce

[R] Error unary operator

2012-10-29 Thread Jean Jang
Hi R - listers, I am receiving an error. Does anyone know what this means? J ggplot(subset(foo, Rayos != "Rayos.NA"), aes(x=HTL, y=DevelopIndex, colour=TotalEggs)) +geom_point() +geom_jitter() + facet_grid(Aeventexhumed ~ Rayos) + geom_smooth(method="lm", fill=NA) + ylim(c(0, 7)) Error in +ge