Re: [R] vectorization question

2003-08-15 Thread Martin Maechler
Tony == Tony Plate [EMAIL PROTECTED] on Thu, 14 Aug 2003 11:43:11 -0600 writes: Tony From ?data.frame: Details: A data frame is a list of variables of the same length with unique row names, given class `data.frame'. Tony Your example constructs an object that

[R] Re: [R} stars graphs

2003-08-15 Thread Jim Lemon
I thought about that star graph again, and realized that it would be quite a handy thing for visualizing cyclic data like time or compass direction. Here is a cleaned up (and renamed) version to do a polar plot that starts at the right and goes counterclockwise or a 24 hour clock plot that

[R] partition.tree() version for rpart ?

2003-08-15 Thread Martin Maechler
The tree package has a nice function partition.tree() for drawing the (1D or) 2D partition in the case of only (one or) two predictors {See the examples in help(partition.tree)}. {and so does S-plus (not in a separate package though)}. It seems to me that there's no function with similar

Re: [R] Using spline parameters to generate data

2003-08-15 Thread Spencer Graves
1. Did you plot the data within subsets to evaluate the appropriateness of any particular model? 2. Did you previously use nls to estimate parameters in the exponential model to appropriate subsets of the data? If yes, did you make various plots of residuals, e.g., vs. predicted to evaluate

[R] Command processing of arguments

2003-08-15 Thread Al Piszcz
In the mail archives I found a solution that sets environment parameters. http://www.r-project.org/nocvs/mail/r-help/2001/5411.html However I would rather not create the temp files. - I am using the following method... :: File: Rba

[R] Re: Rwave cgt plot time axis problem

2003-08-15 Thread Brandon Whitcher
On Mon, 4 Aug 2003, zhu wang wrote: When I use the function cgt of library Rwave, the time axis of the plot is always on the [0,1] scale regardless of the original time. This happedn when I tried to reproduce some pictures of Practical Time-Frequency Analysis, e.g. Figure 3.5 and 3.6 using

[R] again Trellis plot

2003-08-15 Thread Brunschwig, Hadassa {PDMM~Basel}
Hello everyone I've got another question on Trellis plots. I plotted my fitted model with plot(augPred(fitted model)). According to the description of this method, one can use any optional argument which is passed down to the xyplot function for Trellis plots. Additionally to the trivial plot

[R] menubutton don´t work

2003-08-15 Thread solares
Why the variable archOp does not take the value that be chosen in the menubutton?, therefore always remains as a white one, I intend to charge the direccion of open files in a vector and then to elect with the menubutton with which to work but not functions thanks.Ruben library(tcltk)

Re: [R] Is there a package for digitizing or reading jpegs, ets. in R?

2003-08-15 Thread M.Kondrin
Peter Hovmand wrote: I'm interested in digitizing some scanned time series, and looking for a solution that is easy and flexible. I thought I might be able to use R's locator() if I could get the image into a device. I noticed that there are some packages like (rimage), but it (a) doesn't seem

Re: [R] menubutton don´t work

2003-08-15 Thread M.Kondrin
[EMAIL PROTECTED] wrote: Why the variable archOp does not take the value that be chosen in the menubutton?, therefore always remains as a white one, I intend to charge the direccion of open files in a vector and then to elect with the menubutton with which to work but not functions

RE: [R] Merging and sorting multiple data.frame

2003-08-15 Thread Hotz, T.
Dear Aedin, Similar questions have been asked quite often on this list. See FAQ 7.25, the manual An Introduction to R, and the online help, especially ?merge, ?sort, ?order, and ?data.frame. HTH Thomas -Original Message- From: Culhane, Aedin [mailto:[EMAIL PROTECTED] Sent: 15

[R] Is it possible to separate two independent components from arandom variable?

2003-08-15 Thread Feng Zhang
Hey, R-listers, Given the observed N random scalar variable x, with zero mean and unit variance, can we separate the two independent component x1 and x2 such that x = x1 + x2 (x1 and x2 are assumed to be zero mean)? Maybe there is no way to figure it out, and just wanna get some help and try it.

RE: [R] Is it possible to separate two independent components fromarandom variable?

2003-08-15 Thread Hotz, T.
Dear Fred, If x1 and x2 are *not* normally distributed, you can use independent component analysis (ICA) which is based on the idea that x will be more normal than either x1 and x2 following the central limit theorem. See package(fastICA) by JL Marchini, C Heaton, and BD Ripley for details. HTH

[R] Does order() behave differently on different platforms?

2003-08-15 Thread Raja Surapanani
Hello, I am running R 1.7.1 on two platforms and it seems to me that order() behaves differently on them. I noticed this when a test case passed in linux but failed on solaris. This is the behavior on the solaris platform: R.Version() $platform [1] sparc-sun-solaris2.8 $arch [1] sparc $os

Re: [R] Is there a package for digitizing or reading jpegs, ets. in R?

2003-08-15 Thread Roger Bivand
On Fri, 15 Aug 2003, M.Kondrin wrote: Peter Hovmand wrote: I'm interested in digitizing some scanned time series, and looking for a solution that is easy and flexible. I thought I might be able to use R's locator() if I could get the image into a device. I noticed that there are some

Re: [R] Is it possible to separate two independent components froma random variable?

2003-08-15 Thread Thomas Lumley
On Fri, 15 Aug 2003, Feng Zhang wrote: Hey, R-listers, Given the observed N random scalar variable x, with zero mean and unit variance, can we separate the two independent component x1 and x2 such that x = x1 + x2 (x1 and x2 are assumed to be zero mean)? Not without further information or

Re: [R] Does order() behave differently on different platforms?

2003-08-15 Thread Uwe Ligges
Raja Surapanani wrote: Hello, I am running R 1.7.1 on two platforms and it seems to me that order() behaves differently on them. I noticed this when a test case passed in linux but failed on solaris. This is the behavior on the solaris platform: R.Version() $platform [1] sparc-sun-solaris2.8

Re: [R] Is there a package for digitizing or reading jpegs, ets. in R?

2003-08-15 Thread Barry Rowlingson
http://www.acclab.helsinki.fi/~frantz/software/g3data.php The current version does not seem to be available for Windows (version 1.1.4 is), is gtk+ based, there are RPMs. I found these things on www.freshmeat.net: http://digitizer.sourceforge.net/ [Qt License, Windows and linux versions]

[R] How to reinstall rpart?

2003-08-15 Thread David Parkhurst
After entering library(rpart), I tried to plot an existing rpart tree, and got this error message: Error: couldn't find function plot.rpart. However, ?plot.rpart does bring up the help for the function. The same things occur for text.rpart, although print(my.tree) does work. So, I tried to

Re: [R] How to reinstall rpart?

2003-08-15 Thread Thomas Lumley
On Fri, 15 Aug 2003, David Parkhurst wrote: Error in unpackPkg(foundpkgs[okp, 2], pkgnames[okp], lib, installWithVers) : Can not remove prior installation of package I have just experienced this when a previous instance of R did not shut down properly(*). The folder was locked and

Re: [R] How to reinstall rpart?

2003-08-15 Thread Ko-Kang Kevin Wang
On Fri, 15 Aug 2003, David Parkhurst wrote: After entering “library(rpart)”, I tried to plot an existing rpart tree, and got this error message: Error: couldn't find function plot.rpart. However, “?plot.rpart” does bring up the help for the function. The same things occur for text.rpart,

[R] The snow package

2003-08-15 Thread njmulakk
I have a few questions regarding the snow package: 1) Is fine-grained parallelism even possible with R/snow? (ie, one task that spawns sub-tasks to do work, with results sent back to the parent task). The example(s) only seem to be totally-independent processing (which can be done just as

[R] help with Tukey Mean-Difference Plot

2003-08-15 Thread Frank Mattes
Dear R users, I would appreciate for some advise how to generate a Tukey Mean-Difference Plot with the tmd function part of the lattice library. I have two test results (log transformed) which showing a correlation on a scatterplot. However the correlation line is parallel displaced depending

Re: [R] help with Tukey Mean-Difference Plot

2003-08-15 Thread Thomas W Blackwell
Frank - help(tmd) says that in R, the Tudkey Mean Difference plot is constructed by: x=(x+y)/2, y=y-x. That's different from what you quote below, but it agrees with my memory of it. Not sure I understand your question. - tom blackwell - u michigan medical school - ann arbor - On

Re: [R] rterm not shutting down from ESS on Win32

2003-08-15 Thread A.J. Rossini
Jeff D. Hamann [EMAIL PROTECTED] writes: I've been having problems with Rterm.exe not shutting down when I exit an R (1.7.0 and 1.7.1) session from within emacs when using ESS. I've just upgraded to 5.1.24 and still have the same problems. I'm running ntemacs and winxp. I don't recall having

Re: [R] The snow package

2003-08-15 Thread A.J. Rossini
njmulakk [EMAIL PROTECTED] writes: I have a few questions regarding the snow package: 1) Is fine-grained parallelism even possible with R/snow? (ie, one task that spawns sub-tasks to do work, with results sent back to the parent task). The example(s) only seem to be totally-independent

[R] Error in model.frame

2003-08-15 Thread Ross Boylan
I am getting an error that I don't understand, and wonder if anyone could explain what's going on. I call a function defined thus: clogit.rds-function(formula,data,extra.data,response.prob, na.action=getOption(na.action),subset=NULL, control=coxph.control()){

[R] Re: Error in model.frame

2003-08-15 Thread Ross Boylan
On Fri, 2003-08-15 at 16:03, Ross Boylan wrote: I am getting an error that I don't understand, and wonder if anyone could explain what's going on. I call a function defined thus: clogit.rds-function(formula,data,extra.data,response.prob,

Re: [R] Error in model.frame

2003-08-15 Thread Thomas Lumley
On Fri, 15 Aug 2003, Ross Boylan wrote: I am getting an error that I don't understand, and wonder if anyone could explain what's going on. I call a function defined thus: clogit.rds-function(formula,data,extra.data,response.prob, na.action=getOption(na.action),subset=NULL,

[R] Re: Error in model.frame SOLVED

2003-08-15 Thread Ross Boylan
On Fri, 2003-08-15 at 16:15, Ross Boylan wrote: On Fri, 2003-08-15 at 16:03, Ross Boylan wrote: I am getting an error that I don't understand, and wonder if anyone could explain what's going on. I call a function defined thus: clogit.rds-function(formula,data,extra.data,response.prob,

Re: [R] Is there a package for digitizing or reading jpegs, ets. in R?

2003-08-15 Thread Ross Ihaka
Peter Hovmand wrote: I'm interested in digitizing some scanned time series, and looking for a solution that is easy and flexible. I thought I might be able to use R's locator() if I could get the image into a device. I noticed that there are some packages like (rimage), but it (a) doesn't seem

[R] Confidence prediction limits from bootstrapped linear model

2003-08-15 Thread Martin Biuw
Sorry, I sent this without a subject at first.. Hello, Is there a simple function that calculates standard errors and confidence limits of response values (Y) in a linear model, where parameter estimates have been arrived at by bootstrapping (e.g. according to the first example in Angelo