Visualising results from 'effects' package

  1. Any ideas on how to control the tick-label size e.g. on the following code i'd like to control the font size of the words 'Male' and 'Female' on the x axis and the units of 'volunteer' on the Y axis.

  2. Any ideas on how to plot prediction intervals rather than confidence intervals would also be much appreciated.

code from here.
library(effects);
library(stats);
mod.cowles <- glm(volunteer ~ sex + neuroticism*extraversion, data=Cowles, family=binomial);
eff.cowles <- allEffects(mod.cowles, xlevels=list(neuroticism=0:24, extraversion=seq(0, 24, 6)));
plot(eff.cowles, par.strip.text = list(cex = 1.2), xlab=list(cex=2.8), cex=2.5 #par.settings=list(scales=list(cex=1.4),#doesn't work.
#par.scales=list(cex=1.4),#doesn't work.
#scales=list(cex=1.4),#doesn't work
#pscales=list(cex=1.5)#doesn't work. 
)

Answers


On your first question, I think you're looking for

plot(eff.cowles, cex.lab=.4)

The cex.lab argument is probably what you need.

I don't know an easy way to do prediction intervals rather than confidence intervals, although I'm sure it's possible.


Need Your Help

Plone 4: send email when user info is updated

email event-handling user plone

I am attempting to add an event listener to a custom product so that I can send an email when the @@personal-information page is saved.

Cannot find GWT SDKs (Eclipse 4.3)

gwt eclipse-plugin

I was trying to install Google Plugin for Eclipse 4.3 by the instructions listed below:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.