Re: [R] R code: How to correct "Error in parse(text = x, keep.source = FALSE)" output in psych package using own dataset

2019-08-29 Thread William R Revelle
Hi all. I am taking a brief vacation and will look at this next week. Bill > On Aug 29, 2019, at 2:53 PM, William Dunlap wrote: > > Element #2 of that output, the empty fomula " F1=~ ", triggers the bug in > omegaSem. > omegaSem needs to ignore such entries in omega's output. psych's auth

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 and

Re: [R] Polychoric Principal Component Analysis (pPCA)

2014-04-09 Thread William R Revelle
Peter, I am not sure if anyone answered your question about doing biplots using polychoric output and PCA. The biplot.psych example # 3 shows how to do this library(psych) > responses <- table2df(bock.table[,2:6],count=bock.table[,7], > labs= paste ("lsat6.",1:5,sep="”)) > W <-

Re: [R] Problems with a R-packages

2014-01-23 Thread William R Revelle
Andreas, You need to install those dependencies first. That is, ‘lossDev’ is not installed until you first . first install ‘rjags’, ‘logspline’ but those probably require some other dependencies as well. That is, when you try to install ‘rjags’, ‘logspline’ it will probably give you mes

[R] [R-pkgs] psych version 1.4.1

2014-01-23 Thread William R Revelle
psych 1.4.1 is now on CRAN and being distributed to the mirrors. • Substantial improvements in speed through the use of the parallel package and some coding improvements in a number of functions. • Added parallel processing (multicores) to polychoric, tetrachoric, mixed.cor, fa, fa.parallel, c

Re: [R] Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other

2012-11-26 Thread William R Revelle
Brent, Try setting the cex parameter to make the numbers smaller. Also try modifying the e.size (ellipse size) parameter. Then, to make much better looking graphs, see if you can install Rgraphviz and try using the fa.rgraph function or use the graphviz=TRUE parameter. fa.diagram was a hack to

Re: [R] Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other

2012-11-26 Thread William R Revelle
Brent, No, cex doesn't work (as you have discovered). That is a bug. I will work on it. In the meantime, try Rgraphviz called from fa.rgaph or use the output from fa.graph which produces a dot file for processing with any graphic package (including graphviz) which handles the dot language.

[R] [R-pkgs] psych 1.2.8 has been released

2012-09-09 Thread William R Revelle
Dear fellow R users. I have released version 1.2.8 of the psych package. This replaces 1.2.4 from the April release. The more important changes o Modified score.irt so that subjects who miss all items or pass all items are given an estimate based upon the (product) of the