Re: [R] Creating windows binary R package (PowerArchiver vs. zip -r9X)

2007-07-27 Thread Uwe Ligges
Tao Shi wrote: Hi list,I apologize if you see funny fonts, b/c I'm using the new Windows Live Hotmail and don't know how to turn off the rich text mode.I have successfully built and installed a R package in windowsXP for R-2.5.1. But when I tried to create a .zip file so I can use

[R] cluster - identify variables contributions to clusters of cases

2007-07-27 Thread Alexander.Herr
Hi List, How would I go about best identifying the variables contributing most to the specific clusters? eg using either aglomerative or partitioning methods, but with mixed variables (ie including categorical) eg: factor(as.integer(runif(min=1, max=5,nrow(USArrests-t1

Re: [R] manipulating arrays

2007-07-27 Thread Henrique Dallazuanna
Hi, I don't know if is the more elegant way, but: X-c(1,2,3,4,5) X - c(X[1], 0, X[2:5]) -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 27/07/07, Nair, Murlidharan T [EMAIL PROTECTED] wrote: Can I insert an element in an array at a particular position without

[R] manipulating arrays

2007-07-27 Thread Nair, Murlidharan T
Can I insert an element in an array at a particular position without destroying the already existing element? X-c(1,2,3,4,5) I want to insert an element between 1 and 2. Thanks ../Murli [[alternative HTML version deleted]] __

[R] heatmap and phylogram / dendogram ploting problem

2007-07-27 Thread Stefani, Franck
Hi, I have trouble with the heatmap function (package stats). The row labels are wrongly ordered and don't correspond to the Rowv dendrogram. I know there is a bug with the heatmap fonction. Emmanuel Paradis (http://tolstoy.newcastle.edu.au/R/e2/help/07/05/16227.html )suggested a modification

Re: [R] Obtaining summary of frequencies of value occurrences for a variable in a multivariate dataset.

2007-07-27 Thread jim holtman
results=()#character() myVariableNames=names(x.val) results[length(myVariableNames)]-NA for (i in myVariableNames){ results[i]-names(x.val[[i]])# this does not work it returns a NULL (how can i convert this to x.val$somevalue ? ) } On 7/27/07, Allan Kamau [EMAIL PROTECTED] wrote: Hi

Re: [R] Large dataset + randomForest

2007-07-27 Thread Florian Nigsch
Thanks Max, It looks as though that did actually solve the problem! It is a bit of a mystery to me because I think that the 151x150 matrix can't be that big, unless its elements are in turn huge datastructures. (?) I am now calling randomForest() like this: rf -

Re: [R] Large dataset + randomForest

2007-07-27 Thread Florian Nigsch
I compiled the newest R version on a Redhat Linux (uname -a = Linux .cam.ac.uk 2.4.21-50.ELsmp #1 SMP Tue May 8 17:18:29 EDT 2007 i686 i686 i386 GNU/Linux) with 4GB of physical memory. The step when the whole script crashed is within the randomForest() routine, I do know that because I

[R] plot

2007-07-27 Thread Dong GUO 郭东
Greetings to the group, I would like to know if some one could help me with plot 3-d column graph of a matrix (3-d column graph in Excel). Many thanks in advance. Regards, Dong __ R-help@stat.math.ethz.ch mailing list

Re: [R] exporting character vector to text files

2007-07-27 Thread Vladimir Eremeev
Use get() instead of eval(). And, probably, some arguments are missing in call to paste(). Maybe, extension? That is, for(i in test) write.table(get(i),file=paste(i,txt,sep=.),row.names=FALSE,sep=\t) If you want file names matching exactly names of your matrices, and being without

Re: [R] cluster - identify variables contributions to clusters of cases

2007-07-27 Thread Ranjan Maitra
I am not sure this might help, but you are perhaps lookign at variable selection. There is a 2006 JASA paper by Raftery and Dean which may help. Many thanks, Ranjan On Fri, 27 Jul 2007 17:32:02 +1000 [EMAIL PROTECTED] wrote: Hi List, How would I go about best identifying the variables

[R] exporting character vector to text files

2007-07-27 Thread Luis Ridao Cruz
R-help, I have a character vector whose elements are the names of matrixes. Something like this: test - ls(pattern=Oki) [1] aaOkiaOki bOki c1Okic2Okic3Oki cOki dOki eOki fOki gprsOki hOki iOki [14] jOki kOki lOki mOki

Re: [R] Obtaining summary of frequencies of value occurrences for a variable in a multivariate dataset.

2007-07-27 Thread Allan Kamau
Hi All, I am having difficulties finding a way to find a substitute to the command names(v.val$PR14) so that I could generate the command on the fly for all PR14 to PR200 (please see the previous discussion below to understand what the object x.val contains) . I have tried the following

Re: [R] princomp error

2007-07-27 Thread Adaikalavan Ramasamy
You probably got some missing or undefined values. Either eyeball the data or use sum(is.na(x)), sum(is.nan(x)), sum(is.infinite(x)) to find out if you have such data. You may want to use which() to find out where they are. Regards, Adai Bricklemyer, Ross S wrote: I am attempting to run

Re: [R] plot

2007-07-27 Thread Greg Snow
Graphs that rely on 3-d effects tend to distort the data rather than enlighten the viewer. If your goal is to distort the data (which I doubt), then most of us don't want to help. On the other hand, if you really do want to enlighten the viewer (even if that is just you), then tell us what

[R] Re : plot

2007-07-27 Thread justin bem
see scatterplot3d package Justin BEM BP 1917 Yaoundˆm Tˆml (237) 99597295 (237) 22040246 - Message d'origine De : Dong GUO ³¢Ö [EMAIL PROTECTED] ˆY : [EMAIL PROTECTED] Envoyˆm le : Vendredi, 27 Juillet 2007, 15h45mn 15s Objet : [R] plot Greetings to the group, I would like to

[R] get() with complex objects?

2007-07-27 Thread Mark Orr
Hello R-listers, I'm having trouble accessing sub objects (attributes?), e.g., x$silinfo$avg.width using the /get() /command; I'm using/ get()/ in a loop as illustrated in the following code: #FIRST MAKE CLUSTERS of VARYING k /for (i in 1:300){ assign(paste(x.,i,sep=),pam(x,i)) #WORKS

Re: [R] get() with complex objects?

2007-07-27 Thread jim holtman
'get' tries to retrieve the object given by the character string. The error message says that object can not be found. You actually have to 'evaluate' the character string. See the example below: x - data.frame(a=1:10, b=11:20) x$a [1] 1 2 3 4 5 6 7 8 9 10 z - 'x$a' get(z) Error

Re: [R] R codes for g-and-h distribution

2007-07-27 Thread Ben Bolker
filame uyaco filams0704 at yahoo.com writes: hi! I would like to ask help how to generate numbers from g-and-h distribution. This distribution is like normal distribution but span more of the kurtosis and skewness plane. Has R any package on how to generate them? Someone else

Re: [R] plot

2007-07-27 Thread Greg Snow
Can you really see much of the data in a 26*31 3d barplot? It seems like most info would be hidden behind the first few rows and it would be so cluttered that you would not be able to make out much of anything from it. Why not try a line plot instead (year as the x axis, each region a

[R] Q: extracting data from lm

2007-07-27 Thread D. R. Evans
Warning: I am a complete newbie to R. I have read ISwR, but I am still finding myself completely stuck on some simple concepts. I have tried everything I can think of to solve this one, and finally decided that enough was enough and I need a pointer to a solution. I have the following summary

Re: [R] Q: extracting data from lm

2007-07-27 Thread Marc Schwartz
On Fri, 2007-07-27 at 15:52 -0600, D. R. Evans wrote: Warning: I am a complete newbie to R. I have read ISwR, but I am still finding myself completely stuck on some simple concepts. I have tried everything I can think of to solve this one, and finally decided that enough was enough and I