Re: [R] how to change the current directory to my folder.

2005-06-06 Thread Peter Dalgaard
Dirk Eddelbuettel [EMAIL PROTECTED] writes: On 6 June 2005 at 10:58, luan_sheng wrote: | I want to th current folder is the specific folder when R start.It is | very boring to modify the current directory manually. How can I do it? The first answer to RSiteSearch(change

Re: [R] locator() via tcltk

2005-06-06 Thread Prof Brian Ripley
On Sun, 5 Jun 2005, Sebastian Luque wrote: Dear List members, Thank you so much for your insights. On Sat, 4 Jun 2005 09:39:33 +0100 (BST), Prof Brian Ripley [EMAIL PROTECTED] wrote: [...] I think it is more likely you want to wait for the Tk interaction and then return the results, that

Re: [R] greater-than-or-equal-to symbol in a legend

2005-06-06 Thread Prof Brian Ripley
On Sun, 5 Jun 2005, Krista Chin wrote: I am unable to get the greater-than-or-equal-to symbol (?) in a legend. I am able to get pi, squares, sqrt, but not this particular symbol. Can anyone tell me what I am doing wrong? legend(locator(n=1), legend = c(Observed, expression(Area 5* m^2),

[R] R code for performance

2005-06-06 Thread v . demartino2
At office I'm cautiously introducing R to be used as the basic statistical program, getting rid of licensed stuff or reducing the amount of it. The aim of R would be to run generic statistical programs built consumed when needed and some static procedure dealing with time-series. Now, we have

[R] Similarity between variables

2005-06-06 Thread Navarre Sabine
Hi, I would like to know the similarity between variables, but I don't exactly how begin and as from what dataframe or matrix! I have a matrix where in row I have 'Good', 'Medium','Bad' and in columns I have my Criterions ! What function and package should I use? Thanks a lot Sabine

RE: [R] R code for performance

2005-06-06 Thread Eric Lecoutre
You could use the benchmark created by Philippe Grosjean to compare various statistical packages. You will find it at: http://www.sciviews.org/benchmark/ Note that you have to ensure to have installed packages: Matrix and SuppDist HTH, Eric Eric Lecoutre UCL / Institut de Statistique Voie

Re: [R] R code for performance

2005-06-06 Thread Prof Brian Ripley
On Mon, 6 Jun 2005 [EMAIL PROTECTED] wrote: At office I'm cautiously introducing R to be used as the basic statistical program, getting rid of licensed stuff or reducing the amount of it. The aim of R would be to run generic statistical programs built consumed when needed and some static

[R] A performance anomaly

2005-06-06 Thread Ajay Narottam Shah
I wrote a simple log likelihood (for the ordinary least squares (OLS) model), in two ways. The first works out the likelihood. The second merely calls the first, but after transforming the variance parameter, so as to allow an unconstrained maximisation. So the second suffers a slight cost for one

[R] The economist's term fixed effects model - plain lm() should work

2005-06-06 Thread Ajay Narottam Shah
CAN YOU TELL ME HOW TO FIT FIXED-EFFECTS MODEL WITH R? THANK YOU! Ordinary lm() might suffice. In the code below, I try to simulate a dataset from a standard earnings regression, where log earnings is quadratic in experience, but the intercept floats by education category - you have 4

Re: [R] Similarity between variables

2005-06-06 Thread Guohui Ding
what is the definition of your similarity? For two variables, you can compare two mean values from two sample by t-test (t.test()) or rank test (such as wilcox.test()). You also can measure the similarity between two distribution by Euclidean or other distance (dist()) . The ks.test() and

[R] Task View for ecology/environmental science

2005-06-06 Thread Graham Smith
Having just discovered Task Views I see there isn't one for ecology/environmental science. I don't have the expertise to help with this, but I think it would be a very useful addition if there was any person (s) on the list willing to help create such a Task View. I am sure the maintainers of

[R] Uses of isoMDS()

2005-06-06 Thread Ross Clement
Hi. I'm using the isoMDS() function of the MASS library for multidimensional scaling. I have two questions that I have not been able to solve by searching through the archives. (i) What is the exact stress measure used? The text in the help file says: This chooses a k-dimensional (default k

[R] multiple comparison test

2005-06-06 Thread Julie BERTRAND
hello, after an anova I use pairwise.t.test(), it gives only p.value and I want the t.stat. I try to get these by computing the Welch approximation of the degree of freedom and using the qt(p.value,df) function but when I test this method with t.test results (the function gives p.value and

Re: [R] R code for performance

2005-06-06 Thread Peter Dalgaard
Prof Brian Ripley [EMAIL PROTECTED] writes: On Mon, 6 Jun 2005 [EMAIL PROTECTED] wrote: At office I'm cautiously introducing R to be used as the basic statistical program, getting rid of licensed stuff or reducing the amount of it. The aim of R would be to run generic statistical

[R] adaboost more two classes

2005-06-06 Thread Muhammad Subianto
Dear R-Helper, I want to know, is there any function/package can handle adaboost more two classes? I know packages gbm and boost, but there are only for 2 classes (correct me if I mistake). Regards, Muhammad Subianto __ R-help@stat.math.ethz.ch

Re: [R] Task View for ecology/environmental science

2005-06-06 Thread Philippe Grosjean
Hello Graham and all, I may _contribute_ to this, but not maintain it: I have too much work to initiate such a Task View. If someone would like to start it, just contact me for help. Best, Philippe Grosjean ..°})) ) ) ) ) ) ( ( ( ( (

Re: [R] Storing data frame in a RDBMS

2005-06-06 Thread Adam Witney
On 4/6/05 9:18 pm, Joe Conway [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 6/4/05, Adam Witney [EMAIL PROTECTED] wrote: I am using PL/R in PostgreSQL amd have written some functions to build my data frame. However this can take some time with some large datasets and I would like to

Re: [R] Uses of isoMDS()

2005-06-06 Thread Prof Brian Ripley
The answer to Q1 is in the reference on the help page: isoMDS is support software for a book. It is quoted as a percentage (as the help page says). Q2 is about linking R to C, not C to R. You can embed R in your C program: see `Writing R Extensions', but it is definitely messier. On Mon, 6

Re: [R] A performance anomaly

2005-06-06 Thread Peter Dalgaard
Ajay Narottam Shah [EMAIL PROTECTED] writes: I wrote a simple log likelihood (for the ordinary least squares (OLS) model), in two ways. The first works out the likelihood. The second merely calls the first, but after transforming the variance parameter, so as to allow an unconstrained

Re: [R] Task View for ecology/environmental science

2005-06-06 Thread Uwe Ligges
Graham Smith wrote: Having just discovered Task Views I see there isn't one for ecology/environmental science. I don't have the expertise to help with this, but I think it would be a very useful addition if there was any person (s) on the list willing to help create such a Task View. I am

Re: [R] geometric mean regression

2005-06-06 Thread Ted Harding
On 03-Jun-05 Michael Grant wrote: I presume the reference is to the 'geometric mean functional regression' or the 'line of organic correlation' or 'reduced major axis regression'. If so, this is relatively easy alsmost trivial to implement in R. This somewhat contentious method is indeed

[R] #R IRC channel on freenode

2005-06-06 Thread Sven C. Koehler
Hello! Someone pointed out that it's not well publicized. There is an #R channel on irc.freenode.net:6667, currently with about five users. You are welcome to join. Best regards, Sven __ R-help@stat.math.ethz.ch mailing list

[R] post hoc kruskal wallis

2005-06-06 Thread Alfredo
I´m looking for a program with a post hoc kruskall Wallis test like the Tukey- type non parametric test of ZAR(Biostatistical Analysis 2ºEdition). SSPS hasn´t got any non parametric post host test. I don´t know if R has an appropiate post hoc non parametric test. I´m not sure if NDWD test of

Re: [R] multiple comparison test

2005-06-06 Thread Peter Dalgaard
Julie BERTRAND [EMAIL PROTECTED] writes: hello, after an anova I use pairwise.t.test(), it gives only p.value and I want the t.stat. I try to get these by computing the Welch approximation of the degree of freedom and using the qt(p.value,df) function but when I test this method with

Re: [R] A long digression on packages

2005-06-06 Thread Chris Evans
On 5 Jun 2005 at 18:44, Jari Oksanen wrote: There are diverse opinions about netiquette. One of the most basic, in my opinion, is this: if someone posts starts a discussion in a certain forum, you shall not divert it to another forum where it may be hidden by most readers, perhaps even by the

Re: [R] A long digression on packages

2005-06-06 Thread Jonathan Baron
I haven't followed this thread, but the web interface may exist. (Perhaps help.search() does something that Namazu doesn't do, but I don't think so.) See my .sig below. This is where you get if you click on Search in the R home page. On 06/06/05 11:46, Chris Evans wrote: On 5 Jun 2005 at

Re: [R] segmentation fault - debugging

2005-06-06 Thread Duncan Murdoch
Joel Bremson wrote: Hi all, I'm trying to debug some fortran 95 code that I'm bringing in with a dyn.load(). I'm compiling a number of files using g95 on intel linux w/ R 2.1.0. The .so file loads without complaint, but when I try to call it I get a seg fault. I was hoping I could get a core

[R] Strange characters in 2.1.0?

2005-06-06 Thread Dan Bolser
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Signif. codes: 0 8098***8099 0.001 8098**8099 0.01 8098*8099 0.05 8098.8099 0.1 8098 8099 1 Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 hmm... they go away when I paste them in...

Re: [R] Uses of isoMDS()

2005-06-06 Thread Ross Clement
Thanks to all for both the public and private answers on this topic. It looks like from your answers that I'll have to wait for Modern Applied Statistics with S to arrive at my local library (already requested) before there's a chance that things will become clear. As for C/R hybrids, if things

Re: [R] A long digression on packages

2005-06-06 Thread Chris Evans
On 6 Jun 2005 at 7:02, Jonathan Baron wrote: I haven't followed this thread, but the web interface may exist. (Perhaps help.search() does something that Namazu doesn't do, but I don't think so.) See my .sig below. This is where you get if you click on Search in the R home page. Not quite:

Re: [R] Uses of isoMDS()

2005-06-06 Thread Jari Oksanen
On Mon, 2005-06-06 at 10:34 -0500, Ross Clement wrote: Thanks to all for both the public and private answers on this topic. It looks like from your answers that I'll have to wait for Modern Applied Statistics with S to arrive at my local library (already requested) before there's a chance that

[R] Unable to compile R-2.1.0

2005-06-06 Thread v . demartino2
I downloaded the latest R-2.1.0 tarball from cran (the one of 18/4/05) to compile it under FreeBSD. Take into account that I compiled R-2.0.1 in the same machine and OS like a charme, flawlessly and at the very fiirst shot. Now with R-2.1.0, ./configure doesn't seem to say anything alarming but

RE: [R] ts.intersect a multivariate and univariate ts

2005-06-06 Thread Andy Bunn
R w - list(rnorm(10), rnorm(10)) R x - ts(w, start = 1980) Even though you don't get an error message this statement is erroneous. ?ts discusses the valid possibilities. So it does, might I suggest add something like this to ts: if (is.list(data)) stop(Data must be a

[R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Romain Francois
Hello all, It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to avoid the opposite side-effect : graph not reachable through the categories. That's why the

[R] Polar Graph

2005-06-06 Thread Navarre Sabine
Hi, I would like to do a polar graph (=star graph) ! is that graph existing on R? Because more softwares can do that but I don't found it on R! Thanks Sabine - ils, photos et vidéos ! [[alternative HTML version deleted]]

Re: [R] Strange characters in 2.1.0?

2005-06-06 Thread Douglas Bates
On 6/6/05, Dan Bolser [EMAIL PROTECTED] wrote: Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Signif. codes: 0 8098***8099 0.001 8098**8099 0.01 8098*8099 0.05 8098.8099 0.1 8098 8099 1 Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 hmm... they go away when I

Re: [R] R code for performance

2005-06-06 Thread v . demartino2
:-- Messaggio originale -- :Date: Mon, 6 Jun 2005 09:40:40 +0100 (BST) :From: Prof Brian Ripley [EMAIL PROTECTED] :To: [EMAIL PROTECTED] :cc: r-help r-help@stat.math.ethz.ch :Subject: Re: [R] R code for performance : : :On Mon, 6 Jun 2005 [EMAIL PROTECTED] wrote: : : At office I'm cautiously

Re: [R] Strange characters in 2.1.0?

2005-06-06 Thread Roger D. Peng
What is your operating system? -roger Dan Bolser wrote: Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Signif. codes: 0 8098***8099 0.001 8098**8099 0.01 8098*8099 0.05 8098.8099 0.1 8098 8099 1 Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 hmm... they go away when

[R] write.dta limits

2005-06-06 Thread Jean Eid
Hope everyone id doing great .. Just need some clarification over the limit of write.dta. I have some coauthors that use stata and I need to send them my data in .dta format. the data.frame is 41706x229 and I get the following Error in write.dta(Panel, file = STATADATA/Panel.dta, version = 7) :

Re: [R] write.dta limits

2005-06-06 Thread Jean Eid
did not clarify the system and such ... platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R The foreign package version is 0.8-4 On Mon, 6 Jun 2005, Jean Eid wrote: Hope

Re: [R] A long digression on packages

2005-06-06 Thread Duncan Murdoch
On 6/6/2005 6:46 AM, Chris Evans wrote: On 5 Jun 2005 at 18:44, Jari Oksanen wrote: There are diverse opinions about netiquette. One of the most basic, in my opinion, is this: if someone posts starts a discussion in a certain forum, you shall not divert it to another forum where it may be

[R] make install on solaris 10

2005-06-06 Thread roger koenker
We have recently upgraded to Solaris 10 on a couple of sparc machines with the usual mildly mysterious consequences for library locations, etc, etc. I've managed to configure R 2.1.0 for a 64 bit version with: R is now configured for sparc-sun-solaris2.10 Source directory: .

Re: [R] A long digression on packages

2005-06-06 Thread Chris Evans
On 6 Jun 2005 at 8:38, Jonathan Baron wrote: So use my search engine and unclick all the options except for functions? Do I need a different term? No, I'm being an idiot (as I suspected!) and had looked through your particular search interface and jumped to the big CRAN one. Replying this

[R] Re: R-help Digest, Vol 28, Issue 6

2005-06-06 Thread Sebastian Schoenherr
Dear all, i have a question as regards to the read.table /table command: I read in the following file: Method1 23 Method2 12 Method3 43 Method4 76 Method1 2 Method3 4 If i use the table command I get the following matrix: V2 V1 2 4 12 23 43 76 Method1 1 0 0 1 0 0

Re: [R] simplified Chinese and traditional Chinese translation for R manuals

2005-06-06 Thread Shige Song
Thanks for the excellent work! Shige On 6/6/05, Yuandan Zhang [EMAIL PROTECTED] wrote: Guohui, Great effort for translating this document into Chinese. I will certainly read through and send some feedback to you. Best Yuandan Guohui Ding wrote: Hi, every one, I have translated

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Dan Bolser
On Mon, 6 Jun 2005, Romain Francois wrote: Hello all, It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to avoid the opposite side-effect : graph not

Re: [R] Strange characters in 2.1.0?

2005-06-06 Thread Dan Bolser
On Mon, 6 Jun 2005, Roger D. Peng wrote: What is your operating system? Very sorry for lack of details... I am RH 9, unix pc i386. -roger Dan Bolser wrote: Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Signif. codes: 0 8098***8099 0.001 8098**8099 0.01 8098*8099 0.05

[R] chisq.test and anova problems

2005-06-06 Thread Richard Mendes
we just started to use R and having some problems that no one in our school could solve. I hope someone here can help me out. the first problem is with the chisquare test. we want to exclude the missing values from the data. we used na.omit and made two new variables. now we want to use the chi

Re: [R] Strange characters in 2.1.0?

2005-06-06 Thread Dan Bolser
On Mon, 6 Jun 2005, Douglas Bates wrote: On 6/6/05, Dan Bolser [EMAIL PROTECTED] wrote: Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Signif. codes: 0 8098***8099 0.001 8098**8099 0.01 8098*8099 0.05 8098.8099 0.1 8098 8099 1 Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 .

Re: [R] Reading huge chunks of data from MySQL into Windows R

2005-06-06 Thread Duncan Murdoch
On 6/6/2005 9:30 AM, Dubravko Dolic wrote: Dear List, I'm trying to use R under Windows on a huge database in MySQL via ODBC (technical reasons for this...). Now I want to read tables with some 160.000.000 entries into R. I would be lucky if anyone out there has some good hints what to

Re: [R] Unable to compile R-2.1.0

2005-06-06 Thread Prof Brian Ripley
This has been reported to R-bugs twice already (and also on the lists): it seems autoconf and FreeBSD are making different assumptions. If you look in today's R-devel archive you will see the requests for information I set on the second report. It seems no one using FreeBSD ever tested the

[R] Missing values in argument of .Fortran.

2005-06-06 Thread Rolf Turner
I wish to pass a vector ``y'', some of whose entries are NAs to a fortran subroutine which I am dynamically loading and calling by means of .Fortran(). The subroutine runs through the vector entry by entry; obviously I want to have it do one thing if y[i] is present and a different thing if it is

Re: [R] Strange characters in 2.1.0?

2005-06-06 Thread Roger D. Peng
It may be a problem with your terminal program. Which one are you using? Does it work if you try a different terminal program? -roger Dan Bolser wrote: On Mon, 6 Jun 2005, Roger D. Peng wrote: What is your operating system? Very sorry for lack of details... I am RH 9, unix pc i386.

RE: [R] ts.intersect a multivariate and univariate ts

2005-06-06 Thread Prof Brian Ripley
On Mon, 6 Jun 2005, Andy Bunn wrote: R w - list(rnorm(10), rnorm(10)) R x - ts(w, start = 1980) Even though you don't get an error message this statement is erroneous. ?ts discusses the valid possibilities. So it does, might I suggest add something like this to ts: if (is.list(data))

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Barry Rowlingson
Romain Francois wrote: Graphics will be classified in : - categories - sub-categories within those categories So far so good. Maybe, maybe not! Would a system of keywords work better than strict hierarchical categories, as long as plots can have more than one keyword attached? Someone

[R] planned means and loess?

2005-06-06 Thread Bill Shipley
Hello. I am trying to figure out how (if?) I can adapt a test of planned means (Dunnett's test?) to a loess fit. Context: The experiment consists of growing plants in hydroponic solution of a period of time (t=0 to crit), after which the nutrient solution concentration is decreased to a new

Re: [R] make install on solaris 10

2005-06-06 Thread Prof Brian Ripley
On Mon, 6 Jun 2005, roger koenker wrote: We have recently upgraded to Solaris 10 on a couple of sparc machines with the usual mildly mysterious consequences for library locations, etc, etc. I've managed to configure R 2.1.0 for a 64 bit version with: R is now configured for

[R] ROMA project (R Output MAnager) / Progress report / Call for contributors

2005-06-06 Thread Eric Lecoutre
Hello useRs, This email is about the ROMA project, the implementation in pure S of a reporting system for R. Several month ago, I did then send on R-help a survey on that (mainly: what features did you expect for a reporting system). During the following months, I did try different approaches

RE: [R] Reading huge chunks of data from MySQL into Windows R

2005-06-06 Thread bogdan romocea
You don't say what you want to do with the data, how many columns you have etc. However, I would suggest proceeding in this order: 1. Avoid R; do everything in MySQL. 2. Use random samples. 3. If for some reason you need to process all 160 million rows in R, do it in a loop. Pull no more than,

AW: [R] Reading huge chunks of data from MySQL into Windows R

2005-06-06 Thread Dubravko Dolic
In my (limited) experience R is more powerful concerning data manipulation. An example: I have a vector holding a user id. Some user ids can appear more than once. Doing SELECT COUNT(DISTINCT userid) on MySQL will take approx. 15 min. Doing length(unique(userid)) will take (almost) no time...

Re: [R] make install on solaris 10

2005-06-06 Thread Peter Dalgaard
roger koenker [EMAIL PROTECTED] writes: We have recently upgraded to Solaris 10 on a couple of sparc machines with the usual mildly mysterious consequences for library locations, etc, etc. I've managed to configure R 2.1.0 for a 64 bit version with: R is now configured for

[R] analysis and figure for sign test in setting of high inter-experiment variance

2005-06-06 Thread Robin Colgrove
Hello all, Sorry if this is an FAQ. I have been trying to search the archives without success. I have a dataset (ChiPs microarray) where the experiment to experiment variability is very high but where within an experiment, the data nearly always goes in the right (hypothesis confirming)

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Peter Dalgaard
Romain Francois [EMAIL PROTECTED] writes: Hello all, It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to avoid the opposite side-effect : graph not

Re: [R] A long digression on packages

2005-06-06 Thread Sander Oom
Maybe some of this confusion about search opportunities and pros/cons could be avoided if the search page on CRAN (http://cran.r-project.org/search.html) would be extended to cover all main search tools! Quickly scanning the discussion, I found these: 1- simply Google: some tips and tricks

Re: [R] Missing values in argument of .Fortran.

2005-06-06 Thread Duncan Murdoch
On 6/6/2005 9:52 AM, Rolf Turner wrote: I wish to pass a vector ``y'', some of whose entries are NAs to a fortran subroutine which I am dynamically loading and calling by means of .Fortran(). The subroutine runs through the vector entry by entry; obviously I want to have it do one thing if y[i]

Re: [R] Reading huge chunks of data from MySQL into Windows R

2005-06-06 Thread hadley wickham
In my (limited) experience R is more powerful concerning data manipulation. An example: I have a vector holding a user id. Some user ids can appear more than once. Doing SELECT COUNT(DISTINCT userid) on MySQL will take approx. 15 min. Doing length(unique(userid)) will take (almost) no

Re: [R] Polar Graph

2005-06-06 Thread Sander Oom
Navarre Sabine wrote: Hi, I would like to do a polar graph (=star graph) ! is that graph existing on R? Because more softwares can do that but I don't found it on R! Thanks Sabine - ils, photos et vids ! [[alternative

[R] How to vectorize

2005-06-06 Thread PANTERA Laurent
Dear R-List, I would like to write nicely the names of some isotopes on a plot. The code bellow works fine. plot(1:10,1:10) text(c(2,4,8),c(2,4,8),labels=c(expression(italic(phantom(0)^{78}*Ge)), expression(italic(phantom(0)^{137}*Cs)),

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Romain Francois
Le 06.06.2005 17:21, Peter Dalgaard a écrit : Romain Francois [EMAIL PROTECTED] writes: Hello all, It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to

RE: [R] A long digression on packages

2005-06-06 Thread Liaw, Andy
From: Chris Evans On 6 Jun 2005 at 7:02, Jonathan Baron wrote: I haven't followed this thread, but the web interface may exist. (Perhaps help.search() does something that Namazu doesn't do, but I don't think so.) See my .sig below. This is where you get if you click on Search in

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Sander Oom
Barry Rowlingson wrote: Romain Francois wrote: Graphics will be classified in : - categories - sub-categories within those categories So far so good. Maybe, maybe not! Would a system of keywords work better than strict hierarchical categories, as long as plots can have more than one

[R] intervals and data frames

2005-06-06 Thread Erin Hodgess
Dear R people: I have a vector which runs from -1 to 1, by .1, inclusively. Easy to set up. x - seq(-1,1,.1) I then sample 3 numbers from x. y - sample(x, 3) Suppose one of my values is -0.7. I want to set up an interval around that y1 - pmax(y-0.1,-1) y2 - pmin(y+0.1,1) For the value -.7,

RE: [R] Reading huge chunks of data from MySQL into Windows R

2005-06-06 Thread bogdan romocea
On June 06, 2005 Dubravko Dolic wrote: So I think the other way round will serve best: Do everything in R and avoid using SQL on the database... I'm not so sure. How about your MySQL experience? What types of queries do you run most often? What indexes do you have? What kind of indexes? What

Re: [R] Polar Graph

2005-06-06 Thread Spencer Graves
I just tried 'RSiteSearch(polar graph)' and got 2 hits, the first of which (http://finzi.psych.upenn.edu/R/Rhelp02a/archive/11961.html) seemed to contain code for what you want. (If this does not work for you, please read the posting guide! http://www.R-project.org/posting-guide.html and

RE: [R] A long digression on packages

2005-06-06 Thread Berton Gunter
$.02 (no more): 1. R and its packages are big and diverse, growing rapidly. No simple phrase to describe this, but perhaps the most important contribution to data analysis and statistical practice since Fisher comes close. 2. Ergo lots of diverse information, with little or no way to classify

RE: [R] intervals and data frames

2005-06-06 Thread Huntsinger, Reid
What do you intend r1 to contain? TRUE and FALSE (an indicator vector?) or say integers 1,2,3 designating your intervals around your 3 sample points? So you would e.g. set r1[k,1] to 3 if the kth grid point in [-1,1] lies in interval 3? Etc? Some more detail would help narrow down the

[R] Help package pls.pcr

2005-06-06 Thread luciana
Hello! I need help to use the package pls.pcr in R. I installed R in an IRIX 6.5, using the version of R 0.64.1 from sgifreeware(I didn't get to install the newest version using make). I need to use the package pls.pcr and when I give the command: # R R : Copyright 1999, The R

Re: [R] make install on solaris 10

2005-06-06 Thread roger koenker
On Jun 6, 2005, at 10:08 AM, Peter Dalgaard wrote: It's your missing (or outdated) makeinfo that is coming back to bite you. However, I'm a bit confuzzled because we do ship resources.html et al. as part of the R tarball, so there shouldn't be a need to build them. Were you building from an

RE: [R] Help package pls.pcr

2005-06-06 Thread Liaw, Andy
From: luciana Hello! I need help to use the package pls.pcr in R. I installed R in an IRIX 6.5, using the version of R 0.64.1 from sgifreeware(I didn't get to install the newest version using make). I need to use the package pls.pcr and when I give the command: # R R :

RE: [R] chisq.test and anova problems

2005-06-06 Thread John Fox
Dear Richard, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Mendes Sent: Monday, June 06, 2005 8:44 AM To: r-help@stat.math.ethz.ch Subject: [R] chisq.test and anova problems we just started to use R and having some problems that no

Re: [R] geometric mean regression

2005-06-06 Thread Michael Grant
Hi Ted, Thank you for your informative comments regarding GMR. TH: This somewhat contentious method Contentious...well that says a lot (seriously)! TH: is indeed trivial to implement in R. ... I implemented it in a simnple brute force manner--elegance is time--following Helsel and

Re: [R] Help package pls.pcr

2005-06-06 Thread Peter Dalgaard
Liaw, Andy [EMAIL PROTECTED] writes: R : Copyright 1999, The R Development Core Team Version 0.64.1 (May 8, 1999) For starter, try upgrading R to a version from this century. Or millennium for that matter The version you have seems very strange: AFAICR by 1999 R version is

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Dan Bolser
On Mon, 6 Jun 2005, Sander Oom wrote: Barry Rowlingson wrote: Romain Francois wrote: Graphics will be classified in : - categories - sub-categories within those categories So far so good. Maybe, maybe not! Would a system of keywords work better than strict hierarchical

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread David Forrest
On Mon, 6 Jun 2005, Romain Francois wrote: Le 06.06.2005 17:21, Peter Dalgaard a écrit : ... BTW, shouldn't there a way there from http://addictedtor.free.fr ? I seem to get stuck on the home page with nothing to click (except R and the labels on the left). Hello Peter, My english

Re: [R] How to change the value of a class slot

2005-06-06 Thread Ross Boylan
On Sat, Jun 04, 2005 at 07:08:56PM +0200, Martin Maechler wrote: Ross nextPath - function(pm){ #pm is a CompletePathMaker Ross[EMAIL PROTECTED] - [EMAIL PROTECTED](1) Ross [etc] If your nextPath function has 'pm' as its last statement it will return the updated object,

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Romain Francois
Le 06.06.2005 22:30, David Forrest a écrit : BTW, shouldn't there a way there from http://addictedtor.free.fr ? I seem to get stuck on the home page with nothing to click (except R and the labels on the left). Hello Peter, My english fails me at understanding your question. I don't

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread David Forrest
On Mon, 6 Jun 2005, Dan Bolser wrote: On Mon, 6 Jun 2005, Romain Francois wrote: ... It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to avoid the opposite

[R] names of functions in a library

2005-06-06 Thread Omar Lakkis
How can I get a list of the names of all exported functions in a library? I load my library using library() and then want to dynamically get all functions that start with test. to dynamically execute them. __ R-help@stat.math.ethz.ch mailing list

Re: [R] names of functions in a library

2005-06-06 Thread Duncan Murdoch
On 6/6/2005 4:43 PM, Omar Lakkis wrote: How can I get a list of the names of all exported functions in a library? I load my library using library() and then want to dynamically get all functions that start with test. to dynamically execute them. Use search() to see all the _packages_ that

[R] how to generate pairwise plots with data frames - tia

2005-06-06 Thread Peter Waltman
hi - sorry for a newbie question, but I've tried to go through the documentation and couldn't find anything that would address my specific need. in a nutshell, I have a txt file containing a data matrix with 10 columns of data. I would like to generate pairwise plots of the data, i.e. 1

Re: [R] how to generate pairwise plots with data frames - tia

2005-06-06 Thread Sarah Goslee
Peter, Please read the intro to R available on the R web page - you've run into a subsetting problem. The code you specified doesn't select a column from your matrix. plot(test[1], test[2) Try: plot(test[,1], test[,2]) since test is a two-dimensional construct. Also see ?pairs --

[R] p.adjust documentation suggestion: simple statement that new BH method is an alias for old fdr method

2005-06-06 Thread Earl F. Glynn
In R 2.0.1 p.adjust.methods [1] holm hochberg hommel bonferroni fdrnone In R 2.1.0 p.adjust.methods [1] holm hochberg hommel bonferroni BH BY fdr [8] none One might conclude that two new methods BH and BY were added. BUT, there's a clue in one of the

[R] Building a R package under Windows XP

2005-06-06 Thread Jagarlamudi, Choudary
Hi all, I downloaded all the required r-tools from Dr.Brian Ripley's website. RCMD build dAnal It built the tar file for me. After which i tried RCMD check dAnal and i get the following error. Making package dAnal adding build stamp to DESCRIPTION file installing R files installing data files

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Dan Bolser
On Mon, 6 Jun 2005, David Forrest wrote: On Mon, 6 Jun 2005, Dan Bolser wrote: On Mon, 6 Jun 2005, Romain Francois wrote: ... It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done

[R] (Off topic.) Observed Fisher information.

2005-06-06 Thread Rolf Turner
I have been building an R function to calculate the ***observed*** (as opposed to expected) Fisher information matrix for parameter estimates in a rather complicated setting. I thought I had it working, but I am getting a result which is not positive definite. (One negative eigenvalue. Out of

[R] (no subject)

2005-06-06 Thread quinta
dear all: I want try the vgam function in VGAM library, but I'm stucked since I can't define the weights. This is because I dont understand well the concept of matrix-band (even after read the reference card). I was wondering if someone have some tutorial examples of how to define weights on a

[R] VGAM weights

2005-06-06 Thread quinta
sorry...its the same post but this time with subject dear all: I want try the vgam function in VGAM library, but I'm stucked since I can't define the weights. This is because I dont understand well the concept of matrix-band (even after read the reference card). I was wondering if someone have

RE: [R] (Off topic.) Observed Fisher information.

2005-06-06 Thread Ravi Varadhan
Hi Rolf, If your data come from exponential family of distributions, then the log-likelihood is concave and the observed information must be positive definite. However, I don't think that this is the case more generally, i.e. for families such as curved exponential families the log-likelihood

RE: [R] names of functions in a library

2005-06-06 Thread Liaw, Andy
From: Duncan Murdoch On 6/6/2005 4:43 PM, Omar Lakkis wrote: How can I get a list of the names of all exported functions in a library? I load my library using library() and then want to dynamically get all functions that start with test. to dynamically execute them. Use search()

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-06 Thread Wojtek Slusarski
Romain Francois wrote: Le 06.06.2005 22:30, David Forrest a écrit : BTW, shouldn't there a way there from http://addictedtor.free.fr ? I seem to get stuck on the home page with nothing to click (except R and the labels on the left). Hello Peter, My english fails me at understanding

  1   2   >