Displaying 1 result from an estimated 1 matches for "xlevles".
Did you mean:
xlevels
2011 Oct 20
1
effect function in the effects package
...ck. see the
codes below:
##############################################################################
myologit <- polr(factor(warm) ~ yr89 + male + white + age + ed + prst,
+ data=ordwarm2, method=c("logistic"))
require(effects)
plot(effect("age", myologit, xlevles=list(age=seq(20, 80, 5),
given.values(male=1, yr89=1))))
##############################################################################
I got the following error message:
Warning message:
package 'effects' was built under R version 2.13.2
Error in plot(effect("age", myologit, x...