[R] R CMD check, Windows XP, perl

2004-06-04 Thread TEMPL Matthias
Dear R users and developers, I'm trying to build a package. The R CMD build works fine. The R CMD check produces allways the following error: .. installing indices Can`t locate File/Basename.pm in @ING (@ING contains: D:/../rw1090/share/perl d:/../rw1090/lib .) at

[R] rpart

2004-06-04 Thread h0444k87
Hello everyone, I'm a newbie to R and to CART so I hope my questions don't seem too stupid. 1.) My first question concerns the rpart() method. Which method does rpart use in order to get the best split - entropy impurity, Bayes error (min. error) or Gini index? Is there a way to make it use the

Re: [R] rpart

2004-06-04 Thread Ko-Kang Kevin Wang
Hi, I think most, if not all, your questions can be answered by: 1) ?rpart 2) Some search through the r-help mailing list 3) Read the chapter on tree-based models in MASS 4 (Modern Applied Statistics with S) by Venables and Ripley Kevin - Original Message - From: [EMAIL PROTECTED]

Re: [R] ecdf plots, lines, and y values

2004-06-04 Thread Martin Maechler
UweL == Uwe Ligges [EMAIL PROTECTED] on Thu, 03 Jun 2004 21:36:48 +0200 writes: UweL Monica Palaseanu-Lovejoy wrote: Hi, I have a question for the group, perhaps someone can help me figure this out. I've already looked in the help files and they were no help

Re: [R] GAM question

2004-06-04 Thread Simon Wood
Warning in eval(expr, envir, enclos) : non-integer #successes in a binomial glm! - one way of specifying a logistic regression model is to supply the observed proportion of sucesses as the response variable (e.g. y) and the binomial n as the weights. The warning is complaining that y/n is

[R] Simulating a landscape (matrix) in R

2004-06-04 Thread Edzer J. Pebesma
For creating larger landscapes (Gaussian random fields), you may consider using package gstat, which uses the sequential Gaussian simulation algorithm with local approximations. In the example below, only the nearest 20 neighbours are used to approximate each of the conditional distributions. The

[R] Error() term in glm model formula

2004-06-04 Thread Dan Bebber
Hello, My data are numbers of trees in plots sampled in a number of forest stands. Some stands were subjected to a treatment, others not. Several plots were sampled per stand to get a better idea of what the stand means were, but replication is really at the stand level. Therefore I think this is

[R] How to Describe R to Finance People

2004-06-04 Thread Ko-Kang Kevin Wang
Hi, I've been doing a joint research with someone from the Property Department here and she is about to give a presentation on the results. The audience will include people from Property and Finance, and she is wondering how to describe R to these people (as I used R to do the analyses), since

[R] Export r-output. e.g. regression results, in text file

2004-06-04 Thread Carsten . Colombier
Dear r-help-team, do you know if there is, except copy and paste, a possibility to export an r-output of commands like summary(), e.g. a regression output, in a text file? Best regards, Carsten Dr. Carsten Colombier Economist Swiss Federal Finance Administration FFA Group of Economic Advisers

RE: [R] How to Describe R to Finance People

2004-06-04 Thread Lutz Prechelt
the main advantage it has over SPSS-like software is that you do not need to explicitly create dummy variables. You only need to specify your dependent variable and independent variables and R will fit it (and create dummy variables automatically) for you. Does the audience know exactly what

Re: [R] R CMD check, Windows XP, perl

2004-06-04 Thread Prof Brian Ripley
File::Basename is part of Perl. Your @ING looks wrong (it contains no Perl system directories). Do you have any Perl environmental variables such as PERL5LIB set? On Fri, 4 Jun 2004, TEMPL Matthias wrote: Dear R users and developers, I'm trying to build a package. The R CMD build works

Re: [R] Export r-output. e.g. regression results, in text file

2004-06-04 Thread Prof Brian Ripley
On Fri, 4 Jun 2004 [EMAIL PROTECTED] wrote: do you know if there is, except copy and paste, a possibility to export an r-output of commands like summary(), e.g. a regression output, in a text file? ?sink -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics,

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Barry Rowlingson
Ko-Kang Kevin Wang wrote: It is not only used by statisticians or scientists, but also econometricians and people in finance due to its cost (FREE) and its powerfulness. I think 'power' is preferable here to 'powerfulness'! Never use a big word when a diminutive one will do. Although it has a

[R] Ward clustering problem

2004-06-04 Thread Mike White
I have a training set of data for known classes with 5 observations of 12 variables for each class. I want to use this information to classify new data into classes which are known to be different to those in the training set but each new class may contain one or more observations. The

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Jonathan Baron
On 06/04/04 13:22, Barry Rowlingson wrote: Although it has a slightly higher learning curve than SPSS-like We're usually more concerned with the first derivative of the learning curve than its intercept. Better to say R has a steeper initial learning curve. Maybe plot one out in R? According

[R] S+ code for stochastic volatility models

2004-06-04 Thread Karmei Tang
I am trying to run a simple GARCH model with an extra exogenous variable in the conditional variance equation; and would like to seek some advice on how to do this in the standard S+ package. And also, would anyone happen to have the S+ code for running Hull and White's (1987) stochastic

RE: [R] How to Describe R to Finance People

2004-06-04 Thread Pikounis, Bill
Hi Kevin, I think your \begin{quote}...\end{quote} block covers it nicely. Some generic remarks to consider: * If the presenter is using slides, distill the description into 1 slide (for the 1-2 minutes). * Of course Edward Tufte would not approve, but I think three main bullet points are

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Paul Gilbert
Ko-Kang Kevin Wang wrote: It is not only used by statisticians or scientists, but also econometricians and people in finance due to its cost (FREE) and its powerfulness. I think (FREE) will distract your intended audience from the real point. In a corporate environment, lots of people argue that

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Dirk Eddelbuettel
Kevin, This is a nice start. I'll Cc this back to the recently formed 'R in Finance' list we formed as a result of the two Finance sessions at use useR. One small correction would be that the number of CRAN packages is now in excess of 350 (not 150). And a point you may want to add is that

Re: [R] Confidence intervals for predicted values in nls

2004-06-04 Thread Alberto Murta
Parece que não tiveste grandes ajudas. Eu se fosse a ti fazia isso com um bootstrap bem planeado Alberto On Thursday 03 June 2004 21:22, Prof Brian Ripley wrote: On Thu, 3 Jun 2004, Cristina Silva wrote: I have tried to estimate the confidence intervals for predicted values of a nonlinear

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Tamas Papp
On Fri, Jun 04, 2004 at 11:50:32PM +1200, Ko-Kang Kevin Wang wrote: Although it has a slightly higher learning curve than SPSS-like program, it gets easier to use once one is familiar with it. One of the main advantage it has over SPSS-like software is that you do not need to explicitly

Re: [R] Confidence intervals for predicted values in nls

2004-06-04 Thread Alberto Murta
Ops! I apologise for posting my last message to the R list by mistake. -- Alberto G. Murta Institute for Agriculture and Fisheries Research (INIAP-IPIMAR) Av. Brasilia, 1449-006 Lisboa, Portugal | Phone: +351 213027062 Fax:+351 213015948 |

[R] Error() term in glm model formula

2004-06-04 Thread Dan Bebber
Hello, with regards to my recent question, the design is more a 'repeated measures in space' design than split plot. Dan Bebber *Original message follows** My data are numbers of trees in plots sampled in a number of forest stands. Some stands were subjected to a treatment, others not.

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Marc Schwartz
On Fri, 2004-06-04 at 09:19, Paul Gilbert wrote: Ko-Kang Kevin Wang wrote: It is not only used by statisticians or scientists, but also econometricians and people in finance due to its cost (FREE) and its powerfulness. I think (FREE) will distract your intended audience from the real

[R] use of rcorr.cens with binary response?

2004-06-04 Thread Tom Vanwalleghem
Dear R-helpers, I recently switched from SAS to R, in order to model the occurrence of rare events through logistic regression. Is there a package available in R to calculate the Goodman-Kruskal Gamma? After searching a bit I found a function rcorr.cens which should do the job, but it is not

[R] Plot documentation; Axis documentation

2004-06-04 Thread Glynn, Earl
Why when I do a help(plot) do I not see anything about parameters such as xlim or ylim? As someone new to R, finding that xlim and ylim even existed wasn't all that easy. Even help.search(xlim) shows nothing once I know xlim exists. I'd like to change the default axes but help(axis) isn't

[R] [R-pkgs] New versions of Hmisc and Design on CRAN

2004-06-04 Thread Frank E Harrell Jr
New versions of source packages for Hmisc and Design are available from CRAN for R 1.9 on Linux/Unix. Knowing Uwe Ligges, a Windows binary is not far behind. Changelogs are at http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogHmisc and

Re: [R] use of rcorr.cens with binary response?

2004-06-04 Thread Frank E Harrell Jr
Tom Vanwalleghem wrote: Dear R-helpers, I recently switched from SAS to R, in order to model the occurrence of rare events through logistic regression. Is there a package available in R to calculate the Goodman-Kruskal Gamma? After searching a bit I found a function rcorr.cens which should do the

Re: [R] Plot documentation; Axis documentation

2004-06-04 Thread Marc Schwartz
On Fri, 2004-06-04 at 12:01, Glynn, Earl wrote: Why when I do a help(plot) do I not see anything about parameters such as xlim or ylim? As someone new to R, finding that xlim and ylim even existed wasn't all that easy. Even help.search(xlim) shows nothing once I know xlim exists. I'd

[R] running R command in the background

2004-06-04 Thread Bickel, David
Is there a way to call an R function to work in the background within the same R session? What I have in mind is the equivalent of adding '' at the end of a UNIX command, so that R can process an intensive command while I execute other R commands. I want to do this in the same R session, rather

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Tamas Papp
On Fri, Jun 04, 2004 at 11:06:59AM -0500, Marc Schwartz wrote: I agree that quality and value are important, but I think that the issue of cost should not be discounted out of hand. Value (for both company and client) is directly tied to cost. [...] The bottom line is that cost is a

Re: [R] Plot documentation; Axis documentation

2004-06-04 Thread Tamas Papp
On Fri, Jun 04, 2004 at 12:01:25PM -0500, Glynn, Earl wrote: Why when I do a help(plot) do I not see anything about parameters such as xlim or ylim? As someone new to R, finding that xlim and ylim even existed wasn't all that easy. Even help.search(xlim) shows nothing once I know xlim

Re: [R] running R command in the background

2004-06-04 Thread Prof Brian Ripley
This cannot presently be done, as the R internals do not multitask. I am not sure what you would want to happen if the background and foreground commands both tried to write a new version of object `foo', BTW. Allowing multiple execution threads and setReader() as described in the Green Book

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Marc Schwartz
On Fri, 2004-06-04 at 12:47, Tamas Papp wrote: On Fri, Jun 04, 2004 at 11:06:59AM -0500, Marc Schwartz wrote: I agree that quality and value are important, but I think that the issue of cost should not be discounted out of hand. Value (for both company and client) is directly tied to

Re: [R] running R command in the background

2004-06-04 Thread Andrew Young
You could try looking at the library fork. However, this generally sounds like a bad idea and if you do this, you're kind of asking for trouble with threading issues, as R is not thread-safe. I'm not sure if fork works on all platforms, since I believe it works by running a unix shell command.

Re: [R] running R command in the background

2004-06-04 Thread Andrew Young
By library I of course mean package. -Andrew --- Andrew Young [EMAIL PROTECTED] wrote: You could try looking at the library fork. However, this generally sounds like a bad idea and if you do this, you're kind of asking for trouble with threading issues, as R is not thread-safe. I'm

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Paul Gilbert
Marc Schwartz wrote: On Fri, 2004-06-04 at 09:19, Paul Gilbert wrote: Ko-Kang Kevin Wang wrote: It is not only used by statisticians or scientists, but also econometricians and people in finance due to its cost (FREE) and its powerfulness. I think (FREE) will distract your intended

RE: [R] Sloppy argument checking for named arguments

2004-06-04 Thread Liaw, Andy
From: Gabor Grothendieck It has already been pointed out that partial matching is a feature. However, if the function uses ... then it will only match arguments I believe a more precise description is: `no partial (or positional) matching for arguments that come after the ...'. Best,

Re: [R] running R command in the background

2004-06-04 Thread Prof Brian Ripley
Did you try actually reading the request (let alone the informed repsonse you included) ... I want to do this in the same session, rather than with multiple calls to R, whereas package fork's DESCRIPTION says Description: These functions provides simple wrappers around the Unix

[R] three button mouse? or mouse modifiers?

2004-06-04 Thread Jonathan M. Lees
Is there any way to get R to recognize a three button mouse or a mouse click with a modifier, like control-left mouse or meta-leftmouse or shift ? I need more control in my graphics screen and I would rather not go the xgobi route. -- == Prof. Jonathan M.

[R] hist, lines, rug

2004-06-04 Thread Kim Wong
Hello, I'm trying to plot a historgram with a density plot superimposed: hist(x, seq(-1, 1, by = 0.1), prob = T, col = blue) lines(density(x, bw = 0.1)) rug(x) I don't want to add rug(x) but the histogram will not be plotted unless rug(x) is there. It does not work if the hist line alone is

[R] Mozilla search engine plugin for R java search applet?

2004-06-04 Thread Kevin Wright
I'm interested in adding a toolbar search for my locally installed R documentation. I've pursued doing it myself, but have gotten in over my head and thought to ask here if anybody else has done something like this before I continue this path. Some things that might be relevant: Creating

Re: [R] How to Describe R to Finance People

2004-06-04 Thread Marc Schwartz
On Fri, 2004-06-04 at 14:26, Paul Gilbert wrote: Marc Schwartz wrote: snip I agree that quality and value are important, but I think that the issue of cost should not be discounted out of hand. Value (for both company and client) is directly tied to cost. [snip ...] Marc I

[R] More than one series in a coplot

2004-06-04 Thread Matthew Walker
Hi! I would like to know, how do you plot more than one data series when using coplot? I think I know the answer if plot is being used: x - 1:10 y - 1:10 y2 - 1:10* 1.1 plot ( y ~ x, type=n ) points( y ~ x, type = b, col = red ) # plot the points and lines for the first series points( y2 ~ x,

[R] Comparing treatments in Multivariate Analysis

2004-06-04 Thread Eduardo Dutra de Armas
Hi R-users I'd like to know if there is some packages or functions to do comparison of treatments after that manova pointed differences between them. Any suggestions are much appreciated. __ Eng. Agr., M.Sc. Eduardo Dutra de Armas

Re: [R] More than one series in a coplot

2004-06-04 Thread Deepayan Sarkar
On Friday 04 June 2004 23:04, Matthew Walker wrote: Hi! I would like to know, how do you plot more than one data series when using coplot? I think I know the answer if plot is being used: x - 1:10 y - 1:10 y2 - 1:10* 1.1 plot ( y ~ x, type=n ) points( y ~ x, type = b, col = red ) #