-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
project.org] On Behalf Of Nicole Ford
Sent: Sunday, March 31, 2013 7:27 PM
To: r-help-r-project.org help
Subject: [R] lmer effects-type plot?
hello, all.
while i have a mcmc running, i am looking at the frequestist method of
my model. i have never done HLM so i am looking for ways to plot them
that might yeild something useful like dr. fox's effects plot package.
this is my model, where dem is democracy ranked continuous 1:10, trsut
is a 3 level categorical variable, cpi is 1:10, etc...
hier.jags2.mod <- lmer(dem ~ trust*cpi + age + gender + educ + income
+ (1 + trust | country), data=wvsAB)
i have tried the following:
tmp <- as.data.frame(confint(glht(.hier.jags2.mod))$confint)
tmp$Comparison <- rownames(tmp)
q<-(ggplot(tmp, aes(x = Comparison, y = Estimate, ymin = lwr, ymax =
upr, srt = 45)) + geom_errorbar() + geom_point())
q + theme(axis.text.x=theme_text(angle=-45))
as well as some function using xyplot to little avail, as well as a few
others i happened upon online...
any suggestions of packages/ sample code would be helpful.