data visualization - Visualising results from 'effects' package -


  1. any ideas on how control tick-label size e.g. on following code i'd control font size of words 'male' , 'female' on x axis , units of 'volunteer' on y axis.

  2. any ideas on how plot prediction intervals rather confidence intervals appreciated.

code 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.  ) 

on first question, think you're looking for

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

the cex.lab argument need.

i don't know easy way prediction intervals rather confidence intervals, although i'm sure it's possible.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -