[R] Re: Installing R on Mandrake 10.1

2005-03-15 Thread Martin Maechler
Christian == Christian [EMAIL PROTECTED] on Mon, 14 Mar 2005 19:21:05 +0100 writes: Christian Dear all, I am trying to install the Christian R-2.0.0-1mdk.i586.rpm Christian http://cran.planetmirror.com/bin/linux/mandrake/10.0/R-2.0.0-1mdk.i586.rpm Christian file on

Re: [R] R: install - Perl dependency problem in Debian/Damn Small Linux

2005-03-15 Thread Tim Cutts
On 14 Mar 2005, at 12:46 pm, Stuart Leask wrote: (I vaguely recall a suggestion there be a r-debian list, which this would be appropriate for, but I can't find such a list if it exists. Apologies) OS: Damn Small Linux 1.0rc1 - a tiny (50MB) debian/knoppix-based distro I can't apt-get R. [EMAIL

Re: [R] Output a dataframe from R to excel

2005-03-15 Thread Petr Pikal
E.g. write.excel - function(tab, ...) write.table( tab, clipboard, sep=\t, row.names=F) write.excel(your.data.frame) and pressing Ctrl-V in Excel copies your.data.frame to Excel Cheers Petr On 13 Mar 2005 at 14:26, Faith G wrote: Hi, I am trying to output an dataframe from R to Excel

[R] Packages for multi-class classification with boosting

2005-03-15 Thread Xiyan Lon
Are there any packages to handle multi-class classification with boosting. I know adaboost function include in package boost but that is only for two-class. Thanks for your help. Xiyan Lon __ R-help@stat.math.ethz.ch mailing list

[R] need help with plot.rpart and text.rpart

2005-03-15 Thread Patralekha Bhattacharya
Hi, I am new to R and need help with rpart. I am trying to create a classification tree using rpart. In order to plot the reults I use the plot function and the text function to label the plot of the tree dendrogram with text. The documentation of text.rpart says : For the class method,

[R] KNN one factor predicting problem

2005-03-15 Thread liu qin
Could anybody help me out please? cl-as.factor(traindata[,13]) knn(traindata[1:295,2], newdata[1:32,2], cl,k=2, prob=TRUE) Error in knn(traindata[1:295, 2], newdata[1:32, 2], cl, k = m, prob = TRUE) : Dims of test and train differ Both traindata and newdata have 13 elements. Only one

RE: [R] KNN one factor predicting problem

2005-03-15 Thread Liaw, Andy
From: liu qin Could anybody help me out please? cl-as.factor(traindata[,13]) knn(traindata[1:295,2], newdata[1:32,2], cl,k=2, prob=TRUE) Error in knn(traindata[1:295, 2], newdata[1:32, 2], cl, k = m, prob = TRUE) : Dims of test and train differ Both traindata and newdata

Re: [R] R: install - Perl dependency problem in Debian/Damn Small Linux

2005-03-15 Thread Douglas Bates
Tim Cutts wrote: On 14 Mar 2005, at 12:46 pm, Stuart Leask wrote: (I vaguely recall a suggestion there be a r-debian list, which this would be appropriate for, but I can't find such a list if it exists. Apologies) The Debian-specific list is called [EMAIL PROTECTED] and the info page is

[R] predict.glm and continous variables

2005-03-15 Thread line
Hello. I am using the predict function to transform logit values from a glm to probabilities, (predict(model,type=response,se=T)).. Everything is going very well for the categorical variables where I get one value for the slope of each level and one value for standard error for each level. The

RE: [R] Mandrake 10.1

2005-03-15 Thread bogdan romocea
I managed to install R 2.0.1 on Mandrake 10.1 a couple of weeks ago. It wasn't that easy, first I had to manually track, download and install 3-4 dependencies. I would suggest that you consider another GNU/Linux distribution, Mepis. Mepis combines the best features of several distributions:

[R] [R-pkgs] New package for latent trait models

2005-03-15 Thread Dimitris Rizopoulos
Dear R-users, I'd like to announce the release of my new package ltm (available from CRAN), for fitting Latent Trait Models (including the Rasch model) under the Item Response Theory approach. The latent trait model is the analogous of the factor analysis model for Bernoulli response data. ltm

[R] RODBC, sqlSave and sqlAppend

2005-03-15 Thread Matthew W Nash
Hi all, I am currently trying to read, write and append data between R and MS access using the RODBC library functions. I have no problems reading in the data but when using sqlSave and sqlAppend it doesn't seem to work. I have made sure that all the column names are sensible and there are no

RE: [R] Mandrake 10.1

2005-03-15 Thread Rau, Roland
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bogdan romocea Sent: Tuesday, March 15, 2005 2:49 PM I would suggest that you consider another GNU/Linux distribution, I don't think it is necessary. Mandrake 10.1 is fine for running R.[1] I

Re: [R] cv.glm {boot}

2005-03-15 Thread Trevor Wiens
On Tue, 15 Mar 2005 07:05:49 + (GMT) Prof Brian Ripley [EMAIL PROTECTED] wrote: Cross-validation assumes exchangeability of units. You can easily write your own code (lots of examples in MASS), but first you would need to prove the validity of what you are attempting. For example,

RE: [R] cv.glm {boot}

2005-03-15 Thread Liaw, Andy
From: Trevor Wiens On Tue, 15 Mar 2005 07:05:49 + (GMT) Prof Brian Ripley [EMAIL PROTECTED] wrote: Cross-validation assumes exchangeability of units. You can easily write your own code (lots of examples in MASS), but first you would need to prove the validity of what you

Re: [R] cv.glm {boot}

2005-03-15 Thread Dimitris Rizopoulos
you could also take a look at function `?errortest' from package `ipred' and VR's S programming, pp.175 I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium

Re: [R] cv.glm {boot}

2005-03-15 Thread Trevor Wiens
On Tue, 15 Mar 2005 17:12:37 +0100 Dimitris Rizopoulos [EMAIL PROTECTED] wrote: you could also take a look at function `?errortest' from package `ipred' and VR's S programming, pp.175 I hope it helps. Yes it does. I think I can make this work. Thank you very much. T -- Trevor Wiens

Re: [R] Significance of Principal Coordinates

2005-03-15 Thread Jari Oksanen
On Mon, 2005-03-14 at 18:32 +0100, Christian Kamenik wrote: Dear all, I was looking for methods in R that allow assessing the number of significant principal coordinates. Unfortunatly I was not very successful. I expanded my search to the web and Current Contents, however, the

Re: [R] gR - installation and computation

2005-03-15 Thread Martyn Plummer
On Tue, 2005-03-15 at 16:13 +0100, Depire Alexandre wrote: Hello everyone, I would like to use R to compute some special hidden markov chain. I see that such those models are like dynamic bayesion network. So, I find some doc about computation of those models in R, but I don't know how to

Re: [R] cv.glm {boot}

2005-03-15 Thread Prof Brian Ripley
On Tue, 15 Mar 2005, Trevor Wiens wrote: You mention lots of examples in MASS regarding cross-validation, but I can't find them. Perhaps I'm looking in the wrong spot. I've done Try the index: MASS is a book! -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics,

Re: [R] gR - installation and computation

2005-03-15 Thread Depire Alexandre
Thanks a lot, I precisely search a program to compute IOHMM network, and I don't know if OpenBUGS can do it Le Mardi 15 Mars 2005 17:42, Martyn Plummer a écrit : On Tue, 2005-03-15 at 16:13 +0100, Depire Alexandre wrote: Hello everyone, I would like to use R to compute some special hidden

[R] help w/ xyplot and panel.lmline

2005-03-15 Thread eesteves
Dear All, I'm confortable with xyplot(...) and panel.lmline(...) statements (at least I thought I did :). I've used the following code to plot the decline in log-abundance of fish larvae (no.larvae) with age (age.cls, 4 to 27 days-old) for specific dates of sampling (day, 9 dates). I further

[R] Re: Installing R on Mandrake 10.1

2005-03-15 Thread Christian
Dear all. First of all, thanks to Jon, Martin, Bogdan and Roland since they tried to help me. In order I tried to 1) install the libf2c0-3.4.1-4mdk.i586.rpm. 2) install R 2.0.1 from the source. 1) Didn't work, since the info is still not satisfied 2) I wasn't able to configure it. I mean: a) as

[R] How to extract x rows to get x pvalues using t.test

2005-03-15 Thread Jagarlamudi, Choudary
Hi all, My data genes [,1] [,2] [,3] [,4] [1,] 25 72 23 55 [2,] 34 53 41 33 [3,] 26 43 26 44 [4,] 36 64 64 22 [5,] 47 72 67 34 stu-t.test(genes[,1:2],genes[,3:4]) stu$p.value [1] 0.4198002 i get 1 pvalue for the entire col1:col2 Vs col3:col4. I

[R] How do I call a masked function in a package without a namespace?

2005-03-15 Thread Dirk Koschuetzki
Hello, I work with two packages sna and graph from CRAN resp. Bioconductor. Both packages have a function called degree. Therefore one of the functions is masked by the other and which one gets called depends on the order of loading. The problem is that both package do not have a namespace,

[R] question on xyplot

2005-03-15 Thread Zhongming Yang
Dear All: In the attached file, I have 3 group patients, and there are 5 in each group (the groups are decided by the prefix of the idno). I want draw a repeat measurement comparison figure. My goal is to list 5 patients from same group on one horizontal line. But xyplot sounds pick them

[R] z and p

2005-03-15 Thread Adrian Dusa
Dear useRs, I use pnorm to calculate the area under the normal curve to the left of z. Now, is there a function which provides the z value given a certain area? I wrote a function which finds it in about 20 iterations, but it seems to me not the best solution; I'm just curios if there is an

RE: [R] z and p

2005-03-15 Thread Berton Gunter
qnorm -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA The business of the statistician is to catalyze the scientific learning process. - George E. P. Box -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Dusa

RE: [R] z and p

2005-03-15 Thread Liaw, Andy
Yes, it's called qnorm(). Andy From: Adrian Dusa Dear useRs, I use pnorm to calculate the area under the normal curve to the left of z. Now, is there a function which provides the z value given a certain area? I wrote a function which finds it in about 20 iterations, but it seems

[R] Dispersion factor in GLM

2005-03-15 Thread Johan Stenberg
Dear all, I have two questions concerning GLM (logistic regression) with family=binomial. 1. A measure of the departure from the binomial assumption is given by the dispersion factor (= residual deviance / residual df). The data is over-dispersed when the dispersion factor is significantly

[R] missing sh.exe file when running R CMD INSTALL test

2005-03-15 Thread roger bos
I am trying to learn how to make a simple package that contains no C or Fortran code. I used package.skeleton(...) to make a package called test. The directory and files look good. I downloaded and installed Rtools (www.murdoch-sutherland.com/Rtools/tools.zip). I added the path and from the

Re: [R] RODBC, sqlSave and sqlAppend

2005-03-15 Thread roger bos
I use RODBC all day every day and while I am pretty happy with it, I was never able to make a table separately and append to it using sqlSave. Nevertheless, maybe my observations will help. I always let sqlSave make the table for me. Make sure the table doesn't exist and it will make it. I

Re: [R] missing sh.exe file when running R CMD INSTALL test

2005-03-15 Thread Duncan Murdoch
On Tue, 15 Mar 2005 14:26:42 -0500, roger bos [EMAIL PROTECTED] wrote : I am trying to learn how to make a simple package that contains no C or Fortran code. I used package.skeleton(...) to make a package called test. The directory and files look good. I downloaded and installed Rtools

Re: [R] How do I call a masked function in a package without a namespace?

2005-03-15 Thread Gabor Grothendieck
Dirk Koschuetzki dkoschuetzki at gmx.de writes: : : Hello, : : I work with two packages sna and graph from CRAN resp. Bioconductor. Both : packages have a function called degree. Therefore one of the functions : is masked by the other and which one gets called depends on the order of :

RE: [R] How do I call a masked function in a package without a na mespace?

2005-03-15 Thread Liaw, Andy
From: Gabor Grothendieck Dirk Koschuetzki dkoschuetzki at gmx.de writes: : : Hello, : : I work with two packages sna and graph from CRAN resp. Bioconductor. Both : packages have a function called degree. Therefore one of the functions : is masked by the other and which one

Re: [R] missing sh.exe file when running R CMD INSTALL test

2005-03-15 Thread Gabor Grothendieck
roger bos roger.bos at gmail.com writes: : : I am trying to learn how to make a simple package that contains no C : or Fortran code. I used package.skeleton(...) to make a package : called test. The directory and files look good. I downloaded and : installed Rtools

Re: [R] help w/ xyplot and panel.lmline

2005-03-15 Thread Sebastian Luque
[EMAIL PROTECTED] wrote: [...] Is it possible to change the plotted characters and regression lines for two of the panels (corresponding to dates 101 and 172). For these dates I intend to use data only for ages 9-14 d instead of 5-14 d as for the remaining. Have a look at argument

[R] How to plot points as numbers/strings in lattice

2005-03-15 Thread Owen Solberg
Hello, I would be very grateful if anyone could help with what seems like a simple lattice task. I want to use xyplot, where the symbols for the plotted points are taken from another column in the data frame. So if the data frame looked like: a -

Re: [R] Install the RMySQL

2005-03-15 Thread Ko,Younhee
Thank you very much for your comments. Finally I installed it~ :-) But I have one more general question. Using the RMySQL package and DBI, Can I install the R object to the database? I mean, suppose I got the Objects from matest function or fitmaanova function. If I want to save the results

[R] Control of vertical spacing in Lattice key text?

2005-03-15 Thread Patrick Connolly
I find the key and legend functions in Lattice very useful. Trouble is, now I can see what else I'd like to be able to do with them. If I put a title on a key, it appears too close to the key itself, and if there's a line break in the title (which often happens), the leading between the lines is

Fwd: [R] RODBC, sqlSave and sqlAppend

2005-03-15 Thread Depiereux Constant
Début du message réexpédié : De: Depiereux Constant [EMAIL PROTECTED] Date: 16 mars 2005 00:11:11 GMT+01:00 À: [EMAIL PROTECTED] Objet: Rép : [R] RODBC, sqlSave and sqlAppend Le 15-mars-05, à 16:19, Matthew W Nash a écrit : Hi all, I am currently trying to read, write and append data

RE: [R] How to plot points as numbers/strings in lattice

2005-03-15 Thread Ignacio Colonna
Owen, I think this gives the plot you are looking for. There may be other better ways to do it, this is just the one I know. Inside 'panel' you would need to use 'ltext()' instead of 'text()', as in the example you provided. xyplot(V1~V2, data=a, groups=V3, panel = function(x, y, groups)

Re: [R] How to plot points as numbers/strings in lattice

2005-03-15 Thread Deepayan Sarkar
On Tuesday 15 March 2005 16:54, Owen Solberg wrote: Hello, I would be very grateful if anyone could help with what seems like a simple lattice task. I want to use xyplot, where the symbols for the plotted points are taken from another column in the data frame. So if the data frame looked

[R] Adobe Reader V7.0 for Unix/Linux Available

2005-03-15 Thread Marc Schwartz
Just as a heads up to the community, Adobe has released version 7.0 of the free stand-alone PDF Reader for Unix/Linux platforms. There was a post on the Fedora list today and there is an article at: http://www.scribus.org.uk/modules.php? op=modloadname=Newsfile=articlesid=93 The links for

Re: [R] How to extract x rows to get x pvalues using t.test

2005-03-15 Thread Adaikalavan Ramasamy
You will need to _apply_ the t-test row by row. apply( genes, 1, function(x) t.test( x[1:2], x[3:4] )$p.value ) apply() is a C optimised version of for. Running the above code on a dataset with 56000 rows and 4 columns took about 63 seconds on my 1.6 GHz Pentium machine with 512 Mb RAM. See

RE: [R] How to extract x rows to get x pvalues using t.test

2005-03-15 Thread Liaw, Andy
From: Adaikalavan Ramasamy You will need to _apply_ the t-test row by row. apply( genes, 1, function(x) t.test( x[1:2], x[3:4] )$p.value ) apply() is a C optimised version of for. Running the above code on a dataset with 56000 rows and 4 columns took about 63 seconds on my 1.6 GHz

[R] (no subject)

2005-03-15 Thread dingwengang
G 290 16002600 16002300 G 210 2300 G 290 24003200 G 340 17002650 G 340 22003150 G 230 19002900

[R] Log-linear model with correlation structure

2005-03-15 Thread Christof Bigler
Dear list, I have a time series of frequency data (number of dead trees in each year), including zero frequencies. With a continuous predictor variable (climate index), I want to assess the effect on the number of dead trees. Is there a log-linear regression model that includes a serial

[R] workload of R

2005-03-15 Thread Cheng, Bu Qi
Hi, We are working on R language compiler to find out the way to improve the performance of R in multi core processor and the parallelism in the workload of R. Where can I find the typical workload wrote by R? Thanks! Cheng, Buqi __

[R] Write.table query

2005-03-15 Thread Jones, Glen R
Hello, I have the following 'write.table' statement which works fine write.table(DataOutput,c:/Prices.csv,append = TRUE,col.names = NA,sep = , ) My query is, how could I modify this so I can include a variable name as a prefix before the 'Prices.CSV' filename. For example: prefixname = DevX

[R] Fixed/ trellis/ panel.superpose/ passing in superscripts/ groups

2005-03-15 Thread McClatchie, Sam (PIRSA-SARDI)
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 - Colleagues I have solved the miscoding with subscript and groups in panel.superpose. I was neglecting to pass in the variables correctly.

Re: [R] Write.table query

2005-03-15 Thread Henric Nilsson
On On, 2005-03-16, 05:43, Jones, Glen R skrev: Hello, I have the following 'write.table' statement which works fine write.table(DataOutput,c:/Prices.csv,append = TRUE,col.names = NA,sep = , ) My query is, how could I modify this so I can include a variable name as a prefix before the