Re: [R] exact conditional mantelhaen.test estimate is 0 ?!

2005-07-09 Thread f . hahne
Thanks for the quick answer, that's what I was thinking too. Just wasn't sure wether this was a bug or a matter of computations becoming singular. Florian On Fri, 8 Jul 2005, Florian Hahne wrote: Dear listers, I am trying to compute the exact conditional test given strata margins of a

[R] Svar: R-help Digest, Vol 29, Issue 9

2005-07-09 Thread Niels Peter Baadsgaard
Jeg er på ferie indtil 1/8. Med venlig hilsen Niels Peter __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] getting a variable from an object named using paste

2005-07-09 Thread Constantinos Antoniou
Hello, The subject could be articulated better ;(, but I am stuck... In any case, my problem is the following: I am trying to use knn, and it requires a classification. So I am using cmeans for this. What I want to do is add the classification as a new column in my data.frame (to be used

[R] getting a variable from an object named using paste

2005-07-09 Thread Constantinos Antoniou
Hello, The subject could be articulated better ;(, but I am stuck... In any case, my problem is the following: I am trying to use knn, and it requires a classification. So I am using cmeans for this. What I want to do is add the classification as a new column in my data.frame (to be used

Re: [R] Help with Mahalanobis

2005-07-09 Thread Jose Claudio Faria
Christian Hennig wrote: Dear Jose, normal mixture clustering (mclust) operates on points times variables data and not on a distance matrix. Therefore it doesn't make sense to compute Mahalanobis distances before using mclust. Furthermore, cluster analysis based on distance matrices

Re: [R] getting a variable from an object named using paste

2005-07-09 Thread Uwe Ligges
Constantinos Antoniou wrote: Hello, The subject could be articulated better ;(, but I am stuck... In any case, my problem is the following: I am trying to use knn, and it requires a classification. So I am using cmeans for this. What I want to do is add the classification as a new

Re: [R] more and tab functionalities in R under linux

2005-07-09 Thread David Whiting
Here's a very simple function that more literally emulates 'more'. It would probably become irritating on dataframes with many columns or rows. (Note that this is quick code thrown together and could probably be simplified and/or improved.) more - function(x, num.rows=20) { ## Purpose:display a

[R] R.oo static field

2005-07-09 Thread Omar Lakkis
How can I define a static member of a class? not a static method, rather a static field that would be accessed by all instances of the class. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] missing data imputation

2005-07-09 Thread Ted Harding
On 08-Jul-05 Anders Schwartz Corr wrote: Dear R-help, I am trying to impute missing data for the first time using R. The norm package seems to work for me, but the missing values that it returns seem odd at times -- for example it returns negative values for a variable that should only be

Re: [R] getting a variable from an object named using paste

2005-07-09 Thread Constantinos Antoniou
Indeed. Thanks and sorry, Costas PS. also, sorry about sending the original post twice... I did not want to pollute the list any more with an apology then... On 09 Ιουλ 2005, at 3:30 ΜΜ, Uwe Ligges wrote: Constantinos Antoniou wrote: Hello, The subject could be articulated better ;(,

Re: [R] It was a sad day for the Statistics profession

2005-07-09 Thread Wensui Liu
I started learning data mining by reading his book 'classification and regression tree'. His paper and website about random forest are the best resource for my learning in statistics. It is truly a big loss in statistics. I feel terribly bad. On 7/8/05, Liaw, Andy [EMAIL PROTECTED] wrote: For

Re: [R] Finite Mixture Models with logistic regression

2005-07-09 Thread Spencer Graves
As I've seen no replies to this so far, I will make my feeble attempt. RSiteSearch('mixture regression') just produced 107 hits, the fourth of which was for function moc in package moc. The description looked promising, but I have not used it. Also, RSiteSearch('logistic

Re: [R] Finite Mixture Models with logistic regression

2005-07-09 Thread Gabor Grothendieck
On 7/9/05, Spencer Graves [EMAIL PROTECTED] wrote: Lindsey's packages are not available for all platforms and so are not available on CRAN. Is it true that all CRAN packages in the main repository are available on all platforms? (There is at least an other-software area:

Re: [R] look for help on nlm in R

2005-07-09 Thread Martin Maechler
MaggieZ == Zhu, Maggie [EMAIL PROTECTED] on Thu, 7 Jul 2005 14:40:37 -0500 writes: MaggieZ I had a hard time in learning nlm in R and appreciate any help. MaggieZ I encounted the following error message from time MaggieZ to time when I tried different starting parameter

Re: [R] missing data imputation

2005-07-09 Thread Ted Harding
On 09-Jul-05 Ted Harding wrote: On 08-Jul-05 Anders Schwartz Corr wrote: [...] ]...] Meanwhile, I will try to have a look at the dataset whose URL you give, and see if I have any more specific comments. Now that I look at the histograms of your 21 variables, I would not think of treating

Re: [R] Finite Mixture Models with logistic regression

2005-07-09 Thread Spencer Graves
Hi, Gabor: You are correct, Gabor. I also found Lindsey's home page via www.r-project.org - CRAN - (select a local mirror) - Software: Other - R-related projects - Jim Lindsey's R page. What I meant to say but wasn't clear was that the standard install.packages('gnlm') did not

[R] package loading smooth.lf (LOCFIT), couldn't find function smooth.lf

2005-07-09 Thread Y Y
After loading locfit, I am unable to access functions within locfit. following http://www.herine.net/locfit/start.html library(locfit) x - 10*runif(100) y - 5*sin(x)+rnorm(100) fit - smooth.lf(x,y) Error: couldn't find function smooth.lf fit - locfit(y~lp(x)) Error in eval(expr, envir,

Re: [R] Finite Mixture Models with logistic regression

2005-07-09 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: On 7/9/05, Spencer Graves [EMAIL PROTECTED] wrote: Lindsey's packages are not available for all platforms and so are not available on CRAN. Is it true that all CRAN packages in the main repository are available on all platforms? No,

[R] Quantile normalization and NA

2005-07-09 Thread Ravi Murthy
Hi, I am new to R, I am doing quantile normalization with a dat matix of 384X124 and I find that while computing the quantile normailzation it introduces 'NA' into some of the cells, can someone help me to overcome this problem ? This is the command that goes like upto g62 for 124 colomns g1 -

Re: [R] R.oo static field

2005-07-09 Thread Spencer Graves
Since I've seen no replies to your question, I will offer brief comments that will certainly not meet your needs but might get you started. I don't know what you mean by a static member of a class. I just got 3 hits from RSiteSearch(static member of a class), but I don't know if

Re: [R] explained deviance in multinom

2005-07-09 Thread Spencer Graves
RSiteSearch(R-squared for glm) produced 17 hits, the second of which cited three articles that might interest you (http://finzi.psych.upenn.edu/R/Rhelp02a/archive/48688.html). Other comments suggest that the percent of deviance explained may not be terribly useful (e.g.,

Re: [R] Garch in a model with explanatory variables

2005-07-09 Thread Spencer Graves
RSiteSearch(GARCH with explanatory variables) produced one irrelevant hit, but RSiteSearch(GARCH with explanatory variables) produced 15 hits. Tobias Muhlhofer suggested one could write out the loglikelihood (and possibly its gradient) which you could then maximise with optim() and

[R] aregImpute: beginner's question

2005-07-09 Thread Anders Schwartz Corr
Hello R-help, Thanks for everyone's very helpful suggestions so far. I am now trying to use aregImpute for my missing data imputation. Here are the code and error messages. Any suggestions would be very much appreciated. Sincerely, Anders Corr

[R] Help to make a specific matrix

2005-07-09 Thread Jose Claudio Faria
Dear R users, The solution is probably simple but I need someone to point me to it. How can I to generate a matrix from a numeric sequence of 1:10 like 'A' or 'B' below: A) || | 1 2 3 4 5 | || | 1 | 0 | | 2 | 1 0 | | 3 |

Re: [R] Help to make a specific matrix

2005-07-09 Thread Gabor Grothendieck
On 7/9/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Dear R users, The solution is probably simple but I need someone to point me to it. How can I to generate a matrix from a numeric sequence of 1:10 like 'A' or 'B' below: A) || | 1 2 3 4 5 |

Re: [R] Help to make a specific matrix

2005-07-09 Thread Jose Claudio Faria
Gabor Grothendieck wrote: On 7/9/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Dear R users, The solution is probably simple but I need someone to point me to it. How can I to generate a matrix from a numeric sequence of 1:10 like 'A' or 'B' below: A) || | 1 2 3