Re: [R] how to deal with continous and Non continuous mixed variables in factor analysis?

2013-05-12 Thread Aldi Kraja
Hi, The continues variables can be handled easy via factanal function. ?factanal Binary or ordinal variables can be handled via ltm package, which implements item response theory. ?ltm Hope this helps. Aldi On 5/11/2013 8:06 PM, Klot Lee wrote: hi, when I am doing factor analysis, there is

Re: [R] A problem of splitting the right screen in 3 or more independent vertical boxes:

2013-05-11 Thread Aldi Kraja
. In particular a matrix argument might be: matrix(c(1,2,3, 4,4,4) Sarah On Fri, May 3, 2013 at 5:54 PM, Aldi Kraja a...@wustl.edu wrote: Hmm, I had a typo paste by mistake in my x vector It has to be: x-rnorm(1000,mean=0,sd=1) wheat1-rnorm(100,mean=0,sd=1) wheat2-rnorm(150,mean=0,sd=2) tomatos3

[R] A problem of splitting the right screen in 3 or more independent vertical boxes:

2013-05-03 Thread Aldi Kraja
Hi, Based on par function, I can split the screen into two parts left and right. I wish x occupies the half left screen, and all plants occupy half right screen, which happens right now. But I wish the right screen, to be split in 3 or more vertical parts where each pair of the same type of

Re: [R] A problem of splitting the right screen in 3 or more independent vertical boxes:

2013-05-03 Thread Aldi Kraja
(1,2)) hist(x, main=Left screen OK) boxplot(wheat1,wheat2,tomatos3,tomatos4,cucumbers5,cucumbers6) title (Right screen: boxplot with plants) Thanks, Aldi On 5/3/2013 4:46 PM, Aldi Kraja wrote: Hi, Based on par function, I can split the screen into two parts left and right. I wish x occupies

[R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
Hi, Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit. In both of them among others I have installed a package rgenoud When I open R gui of 32bit and write library(rgenoud) it responds by showing a functional rgenoud version 5.7-8. The same it does on Rgui 64bit. Now I

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
by cygwin? You are right I need to test further. Thought someone would have had this experience and a solution from previous work. Aldi On 10/16/2012 11:51 AM, Duncan Murdoch wrote: On 16/10/2012 12:41 PM, Aldi Kraja wrote: Hi, Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
, not as administrator. That would put the file inside c:/Users/YourName/AppData/Local/VirtualStore/Program Files/R instead of where you think it is. I can imagine that could easily cause confusion. Rich On Tue, Oct 16, 2012 at 1:14 PM, Aldi Kraja a...@wustl.edu mailto:a...@wustl.edu wrote

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
, Aldi On 10/16/2012 12:33 PM, Aldi Kraja wrote Thank you Richard and Jeff, There is a difference in the reporting of extra packages in 32bit 64bit, see following: 32bit although it does not report the extra package when I call it with Rgui it has the rgenoud. Instead 64bit Rgui it reports

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
...1k --- Sent from my phone. Please excuse my brevity. Aldi Kraja a...@wustl.edu wrote: Hi, Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit. In both of them among others I have installed a package rgenoud

Re: [R] Error: ReadItem: unknown type 98, perhaps written by later version of R

2012-08-23 Thread Aldi Kraja
of the same user in regard to the R invocation and space used for temporary calculations. Do these parallel batch R jobs see each other in the same space or are they for sure in independent temporary subdirs? Thanks, Aldi On 8/22/2012 3:47 PM, Aldi Kraja wrote: Hi, Here is a solution for this type

Re: [R] Error: ReadItem: unknown type 98, perhaps written by later version of R

2012-08-22 Thread Aldi Kraja
am not sure what is the type 98 error meaning in R? Anybody knows where the R error types are described? TIA, Aldi On 8/21/2012 10:09 AM, Aldi Kraja wrote: Hi, I am running a large number of jobs (thousands) in parallel (linux OS 64bit), R version 2.14.1 (2011-12-22), Platform: x86_64-redhat

[R] Error: ReadItem: unknown type 98, perhaps written by later version of R

2012-08-21 Thread Aldi Kraja
Hi, I am running a large number of jobs (thousands) in parallel (linux OS 64bit), R version 2.14.1 (2011-12-22), Platform: x86_64-redhat-linux-gnu (64-bit). Up to yesterday everything ran fine with jobs in several blocks (block1, block2 etc) of submission. They are sent to an LSF platform to

[R] lm with a single X and step with several Xi-s, beta coef. quite different:

2012-08-07 Thread Aldi Kraja
Hi, (R version 2.15.0) I am running a pgm with 1 response (earlier standardized Y) and 44 independent vars (Xi) from the same data =a2: When I run the 'lm' function on single Xi at a time, the beta coefficient for let's say X1 is = -0.08 (se=0.03256) But when I run the same Y with 44 Xi-s with

Re: [R] barplot with errorbars

2011-02-17 Thread Aldi Kraja
Hi Toby and Maria, I did a check on Toby's suggestion and it is not there: R version 2.12.1 (2010-12-16) ??barploterrbar No help files found with alias or concept or title matching 'barploterrbar' using fuzzy matching. Also I went to the following location which does not exist.

Re: [R] 300 dpi and eps:

2010-12-15 Thread Aldi Kraja
I have come around several times from R to A. Illustrator, or A. photoshop, and between them with PowerPoint. It is possible that the last one I reported was from PowerPoint. So from your postings it was made clear that postscript plot from R produces a vector graph. Can someone recommend

Re: [R] 300 dpi and eps:

2010-12-15 Thread Aldi Kraja
Thank you Jeff for your advice, Maybe it was better my email subject to had been high quality R graphs for publication instead of 300 dpi and eps. a. In my latest response I was asking for any published paper/book (written by anybody in the R list) that describes how R handles vector graphs

[R] 300 dpi and eps:

2010-12-14 Thread Aldi Kraja
Hi, I have a run of 5 graphs that I want to place them under the same page. Everything works fine to place them in a pdf file , or eps file, but when it comes to have a high quality of 300 dpi these graphs are not good. For example I open the eps file with Adobe Illustrator (AI) and it shows

[R] 300 dpi and eps:

2010-12-14 Thread Aldi Kraja
Hi, I have a run of 5 graphs that I want to place them under the same page. Everything works fine to place them in a pdf file , or eps file, but when it comes to have a high quality of 300 dpi these graphs are not good. For example I open the eps file with Adobe Illustrator (AI) and it shows

[R] real numeric variable transforms into factor:

2009-04-17 Thread Aldi Kraja
Hi Test made in: R in windows Vista OS, R version 2.8.1 From FAQ: http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f It may happen that when reading numeric data into R (usually, when reading in a file), they come in as factors. If |f| is such a factor

Re: [R] real numeric variable transforms into factor:

2009-04-17 Thread Aldi Kraja
Thank you Marc for your detailed and helpful info. Aldi Marc Schwartz wrote: On Apr 17, 2009, at 2:52 PM, Aldi Kraja wrote: Hi Test made in: R in windows Vista OS, R version 2.8.1 From FAQ: http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f It may

[R] with and by and NA:

2009-03-25 Thread Aldi Kraja
Hi, I have a data.frame with many variables for which I am performing the mean by subgroup, for a pair of variables at a time, where one of them for each pair defines the subgroup. The subgroups in the x$cm1 are 0, 1 and 2. x ph1 cm1 0.2345 2 1. 1 2.0033 0 0. 2 1.0033 1 0.2345 0

[R] Overlay plot: boxplot and stripchart

2009-03-13 Thread Aldi Kraja
Hi, I have a data.frame of this kind: x obs movie earned rating 1P1 3.2xx 2P1 4.2xx 3P1 5.2xx 4P1 6.2xx 5P2 3.5xx 6P2 6.5xx 7P2 7.5xx 8P2 4.5xx 9P2 4.5xx 10 P3

[R] par and a substitute for mtext to write one time a title per page

2009-03-03 Thread Aldi Kraja
RE: par and a substitute for mtext to write one time a title per page Hi, Q1. Is there way I can set mfg =c(2,1) which for me could have meant 2 pages and no split on the columns per page; and mfrow =c(4,1) which for me it means 4 graphs per page in

Re: [R] par and a substitute for mtext to write one time a title per page

2009-03-03 Thread Aldi Kraja
that can print a title in every one new page outside of the space designated for graphs, instead of me finding the first graph that starts the page and there using mtext as shown above? Thanks, Aldi Aldi Kraja wrote: RE: par and a substitute for mtext to write one time a title per page

[R] 16 digits and beyond? R64-bit a solution?

2009-02-06 Thread Aldi Kraja
Hi, I am working with some extremely small p-values and I want to capture the corresponding quantiles. I see the help file it says: 'qnorm' is based on Wichura's algorithm AS 241 which provides precise results up to about 16 digits. What happen after the 16th digits? If I am running

Re: [R] Where to download BRugs

2008-05-22 Thread Aldi Kraja
The BRugs package is maintained by Uwe Ligges. So it is possible he forgot to place it in the new version of R/ repositories. Aldi Charles Annis, P.E. wrote: Could you mean RBugs? Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265

Re: [R] mixed model results from SAS and R

2008-05-22 Thread Aldi Kraja
Hi, To continue the test of the differences between mixed model SAS (9.1.3) and lme (R 7.0), I removed the intercept of the random effect in the R case. In that case lme is showing that beta coefficients are almost all of them identical (-0.08424262) and somehow all of them are spread along