[R] plot in package psych with function error.bars.by

Tham Tran hanhtham.tran at yahoo.com.vn
Mon Jun 16 09:52:57 CEST 2014

Hi William,

I've just updated your latest package "psych_1.4.6.11.zip" from server
"personality-project/r/src/contrib/". One time the updating process was
finished, i tried to run based samples code:

= c(21,-22,23,24,-25))
keys = make.keys(28,keys.list,item.labels=colnames(bfi))
scores = scoreItems(keys,bfi,min=1,max=6) 
error.bars.by(scores$scores,round(bfi$age/10)*10,by.var=TRUE,main="BFI age
trends",legend=3,labels=colnames(scores$scores),xlab="Age",ylab="Mean item

then i had an error following: 

Erreur dans if (del == 0 && to == 0) return(to) : 
  valeur manquante là où TRUE / FALSE est requis
De plus : Messages d'avis :
1: In qt(1 - alpha/2, group.stats[[g]]$n - 1) : production de NaN
2: In dt(ln, n - 1) : production de NaN
3: In qt(alpha/2, n - 1) : production de NaN

Could you tell me how to fix these issues? May i had a mistake of updating
your lasted package?


View this message in context: http://r.789695.n4.nabble.com/plot-in-package-psych-with-function-error-bars-by-tp4691632p4692177.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list