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

2014-06-19 Thread William Revelle
Dear Tham, The example you were running was filtering out the subjects less than 10 years old and more than 80. Somehow you suppressed this filtering which lead to the error message. The filtering was done to avoid the problem you detected. I have fixed error.bars.by so that it now will

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

2014-06-19 Thread William R Revelle
Tham, What you have found is that the cats eyes of the error bars will throw an error if there no variance for a cell (or, just one person in a cell). This I will fix so that it complains but doesn’t quit. The example you were running was filtering out the subjects less than 10 years old

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

2014-06-16 Thread Tham Tran
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: require(psych)

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

2014-06-11 Thread William Revelle
Tham and Jim, The Mac version of psych_1.4.6.11 is now on the personalty.project.org/r server repository. The PC version is at personality-project/r/src/contrib/ as a zip file: psych_1.4.6.11.zip For a Mac, just set your other repository to personalty.project.org/r and install the

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

2014-06-08 Thread Tham Tran
Dear William, Thanks to your answer, i no longer waste time trying to get a solution for this question. I'm waiting your next release. Tham -- View this message in context: http://r.789695.n4.nabble.com/plot-in-package-psych-with-function-error-bars-by-tp4691632p4691877.html Sent from the

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

2014-06-07 Thread William Revelle
Tham and Jim, As usual, my first response to this is when you find a problem with the psych package, write me (as author) as well as the R-help list. In addition, always include which version of psych you are running. That will help in the debugging. The current version 1.4.5 on CRAN draws

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

2014-06-04 Thread Tham Tran
Hi Jim, Thank you for your answers. I also don't know where does the error like you mentioned come from. But for me, R works normally with the codes following: require(psych) keys.list=list(Agree=c(-1,2:5),Conscientious=c(6:8,-9,-10),Extraversion=c(-11,-12,13:15),Neuroticism=c(16:20),Openness =

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

2014-06-03 Thread Tham Tran
Hi, I have a problem with the function error.bars.by in package psych. This is the code for example of a graph: keys.list=list(Agree=c(-1,2:5),Conscientious=c(6:8,-9,-10),Extraversion=c(-11,-12,13:15),Neuroticism=c(16:20),Openness = c(21,-22,23,24,-25)) keys =

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

2014-06-03 Thread Jim Lemon
On Mon, 2 Jun 2014 11:28:19 PM Tham Tran wrote: Hi, I have a problem with the function error.bars.by in package psych. This is the code for example of a graph: keys.list=list(Agree=c(-1,2:5),Conscientious=c(6:8,-9,-10),Extraversion=c(-1 1,-12,13:15),Neuroticism=c(16:20),Openness =