[R] Questions on RandomForest

2004-01-07 Thread Fucang Jia
Hi, erveryone, I show much thanks to Andy and Matthew on former questions. I now sample only a small segment of a image can segment the image into several classes by RandomForest successfully. Now I have some confusion on it: 1. What is the internal component classifier in RandomForest? Are

[R] Spatial regression model

2004-01-07 Thread Nadine Henkenjohann
Hello, is there a package which allows to fit a spatial regression model for any k-dimensional data? The spatial regression model is composed of three components: y=mu+Z+epsilon, where mu is a low order polynomial, Z is a realization of a second-order stochastic process with covariance

Re: [R] Spatial regression model

2004-01-07 Thread Roger Bivand
On Wed, 7 Jan 2004, Nadine Henkenjohann wrote: Hello, is there a package which allows to fit a spatial regression model for any k-dimensional data? This site: http://sal.agecon.uiuc.edu/csiss/Rgeo/index.html tries to provide some guidance about the availability of packages for analysis

[R] malecot migration matrix

2004-01-07 Thread Federico Calboli
Dear All, I would like to ask if there is any package that would calculate Malecot migration matrix (or the Imaizumi or Pena implementations of the MMM). I did a site-wide search, and went trough the table of contents of a number of packages that seemed promising, but with no luck. Regards,

[R] generic name of variables

2004-01-07 Thread SAULEAU Erik-André
Dear R-list, I wish a very happy new year and send you a little question: I have different variables which names are m1, m2, m4, .., m10, ... and want to obtain for example mean of each of them without typing each mean(m1), mean(m2), What is the solution for decomposing names in mXX? With

[R] Survival, Kaplan-Meier, left truncation

2004-01-07 Thread Rau, Roland
Dear all, I have data from 1970 to 1990 for people above age 50. Now I want to calculate survival curves by age starting at age 50 using the Kaplan Meier Estimator. The problem I have is that there are already people in 1970 who are older than 50 years. I guess this is called delayed entry or

Re: [R] generic name of variables

2004-01-07 Thread Prof Brian Ripley
On Wed, 7 Jan 2004, SAULEAU Erik-André wrote: Dear R-list, I wish a very happy new year and send you a little question: I have different variables which names are m1, m2, m4, .., m10, ... and want to obtain for example mean of each of them without typing each mean(m1), mean(m2), What

Re: [R] Survival, Kaplan-Meier, left truncation

2004-01-07 Thread Göran Broström
On Wed, Jan 07, 2004 at 12:57:46PM +0100, Rau, Roland wrote: Dear all, I have data from 1970 to 1990 for people above age 50. Now I want to calculate survival curves by age starting at age 50 using the Kaplan Meier Estimator. The problem I have is that there are already people in 1970 who

[R] Attachments in R-help postings {was ... reading large tables}

2004-01-07 Thread Martin Maechler
Duncan == Duncan Murdoch [EMAIL PROTECTED] on Tue, 06 Jan 2004 14:43:22 -0500 writes: Duncan On Tue, 6 Jan 2004 14:03:47 -0500, Daniel Sumers Duncan Myers [EMAIL PROTECTED] wrote : .. Duncan P.S. You can't send attachments to the mailing list, yes, you can, if you

RE: [R] Questions on RandomForest

2004-01-07 Thread Liaw, Andy
Fucang, Questions like these that are specific to one package are best addressed directly to the package maintainer(s) first (me in this case), as the discussion is unlikely to be of general interest to the whole list. 1. The contituent classifier in randomForest uses the CART algorithm

[R] Multiple response dv repeated measures

2004-01-07 Thread Rodrigo Abt
Dear R-listers, I have a dataset where I'm studying differences between a treatment group and a control group for an intervention in a certain point of time for two responses simoultaneously, so I looked for a manova approach first. According to R help, manova does not support the inclusion of an

[R] rpart question on loss matrix

2004-01-07 Thread Peter Flom
Hello again I've looked through ?rpart, Atkinson Therneau (1997), Chap 10 of Venables and Ripley, Breman et al., and the r hgelp archives but haven't seen the answer to these two questions 1) How does rpart deal with asymmetric loss matrices? Breiman et al. suggest some possibilities, but, of

[R] Analyzing dendrograms

2004-01-07 Thread Walton A. Green
Ladies and Gentlemen, As Johan Lindberg points out, the documentation for handling dendrograms is sparseDoes anyone know who is responsible for or working on development of tree methods and objects? I've written a couple of scripts for my own use to translate between parenthetical

Re: [R] Sweave and X11 on OSX 10.3

2004-01-07 Thread Friedrich . Leisch
On Tue, 6 Jan 2004 23:44:42 -0700 (MST), Kieran Healy (KH) wrote: Hi - I'm running R 1.8.1 (compiled from source) on Mac OS X 10.3 (Panther). I find that, if Apple's X11 application is not running, Sweave gives an error when it wants to create a pdf or eps figure. E.g., in the

[R] Installing R on 64-bit Solaris 2.8

2004-01-07 Thread Gerald . Jean
Hello, I am installing R on a Sun Solaris 64-bit machine. I followed the instructions in the R Installation and Administration guide. I am amazed at how much is going on during the installation process and I congratulate the people who have put all this together for the ones amongst us who

Re: [R] Survival, Kaplan-Meier, left truncation

2004-01-07 Thread Thomas Lumley
On Wed, 7 Jan 2004, Rau, Roland wrote: Dear all, I have data from 1970 to 1990 for people above age 50. Now I want to calculate survival curves by age starting at age 50 using the Kaplan Meier Estimator. The problem I have is that there are already people in 1970 who are older than 50

Re: [R] Installing R on 64-bit Solaris 2.8

2004-01-07 Thread Roger D. Peng
You probably don't have LaTeX installed, which is why you cannot build the PDF manuals. It has nothing to do with Acrobat or Emacs. I believe the checks in internet.R can be ignored (as the output says). Does the R installation run? -roger [EMAIL PROTECTED] wrote: Hello, I am installing R

Re: [R] Sweave and X11 on OSX 10.3

2004-01-07 Thread Thomas Lumley
On Wed, 7 Jan 2004 [EMAIL PROTECTED] wrote: open. I don't know too much about MacOS X, but having the DISPLAY variable set without having an X11 server surely means asking for trouble on Linux, and I guess MacOS X is not different ... Yes, except there is no excuse for doing this under Linux

[R] segments in 3d space

2004-01-07 Thread Adrian Dusa
Hi all, Is it possible to draw line segments in a 3d space plot? I'm interested to draw the errors from an observed value to the regression plane, for a textbook example in an Intro Stats handbook for multiple regression. I used the scatterplot3d package to draw the regression plane.

[R] locale problem in W98

2004-01-07 Thread Petr Pikal
Dear all I am using two computers, one with Windows2000 and the other one with W98 both have the same version (precompiled binary) R 1.8.1 and I have experienced a slight problem with text used in plotting on W98 machine. When I try to write some local characters into R console (not sure if

Re: [R] Sweave and X11 on OSX 10.3

2004-01-07 Thread Friedrich . Leisch
On Wed, 7 Jan 2004 08:30:04 -0800 (PST), Thomas Lumley (TL) wrote: On Wed, 7 Jan 2004 [EMAIL PROTECTED] wrote: open. I don't know too much about MacOS X, but having the DISPLAY variable set without having an X11 server surely means asking for trouble on Linux, and I guess MacOS X is

Re: [R] Installing R on 64-bit Solaris 2.8

2004-01-07 Thread Prof Brian Ripley
On Wed, 7 Jan 2004 [EMAIL PROTECTED] wrote: Hello, I am installing R on a Sun Solaris 64-bit machine. I followed the instructions in the R Installation and Administration guide. I am amazed at how much is going on during the installation process and I congratulate the people who have put

[R] assign

2004-01-07 Thread Perez Martin, Agustin
DeaR useRs: I would like to assign a values in an object using a loop 'for'. This is a reduce example of my problem, my real problem is a few complicated: for (j in 1:10) { x.j-rnorm(100) } I want to create 10 objects as x.1, x.2, ... , x.9, x.10 with values in it. I used the assign

Re: [R] segments in 3d space

2004-01-07 Thread Spencer Graves
Have you looked at the documentation on persp, especially the function trans3d in the examples? Also, have you tried www.r-project.org - search - R site search, searching for what you want? This persp - trans3d was mentioned in another recent discussion on this list. hope this helps.

Re: [R] assign

2004-01-07 Thread Peter Wolf
Perez Martin, Agustin wrote: DeaR useRs: I would like to assign a values in an object using a loop 'for'. This is a reduce example of my problem, my real problem is a few complicated: for (j in 1:10) { x.j-rnorm(100) } I want to create 10 objects as x.1, x.2, ... , x.9, x.10 with values

Re: [R] locale problem in W98

2004-01-07 Thread Prof Brian Ripley
What happens if you 1) source() a file containing those characters. 2) Use Rterm? 3) Change the fonts both for the console and for graphics. Is this the same for all fonts? It sounds as if at least part of the problem is the character map that Rgui is using on your W98 machine. BTW, I don't

Re: [R] assign

2004-01-07 Thread Petr Pikal
Hi is it possible for you to use one object (data frame) and assign along its collumns? x-rep(0,10) x-cbind(x,x,x,x,x,x) x x x x x x x [1,] 0 0 0 0 0 0 [2,] 0 0 0 0 0 0 [3,] 0 0 0 0 0 0 [4,] 0 0 0 0 0 0 [5,] 0 0 0 0 0 0 [6,] 0 0 0 0 0 0 [7,] 0 0 0 0 0 0 [8,] 0 0 0 0 0 0 [9,] 0

RE: [R] assign

2004-01-07 Thread Andy Bunn
This is one way: for (j in 1:10) { assign(paste(x, j, sep=.), rnorm(100)) } BTW, there have been many similar posts like this in the past. They are easily found using the search function at http://cran.r-project.org/search.html HTH, Andy __ [EMAIL

Re: [R] assign

2004-01-07 Thread Roger Bivand
On Wed, 7 Jan 2004, Perez Martin, Agustin wrote: DeaR useRs: I would like to assign a values in an object using a loop 'for'. This is a reduce example of my problem, my real problem is a few complicated: for (j in 1:10) { x.j-rnorm(100) } I want to create 10 objects as x.1,

Re: [R] assign

2004-01-07 Thread Roger D. Peng
Use assign(). varnames - paste(x, 1:10, sep = .) for(j in 1:10) { assign(varnames[j], rnorm(10)) } -roger Perez Martin, Agustin wrote: DeaR useRs: I would like to assign a values in an object using a loop 'for'. This is a reduce example of my problem, my real problem is a few

[R] GLMM (lme4) vs. glmmPQL output

2004-01-07 Thread Dieter Menne
Dear List, As I understand, GLMM (in experimental lme4) and glmmPQL (MASS) do similar things using somewhat different methods. Trying both, I get the same coefficients, but markedly different std. errors and p-values. Any help in understanding the models tested by both procedures? Dieter Menne

Re: [R] Sweave and X11 on OSX 10.3

2004-01-07 Thread Thomas Lumley
On Wed, 7 Jan 2004 [EMAIL PROTECTED] wrote: I see, could in this case R for the Mac be smarter about what the default graphics device should be? This is not an Sweave issue, it simply means that under the setup described above any call to plot() ---without actively opening a device

Re: [R] Sweave and X11 on OSX 10.3

2004-01-07 Thread Kieran Healy
I see. Unsetting the DISPLAY variable % unset DISPLAY solves the problem at the terminal. Kieran On 1/8/04 2:52 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue, 6 Jan 2004 23:44:42 -0700 (MST), Kieran Healy (KH) wrote: Hi - I'm running R 1.8.1 (compiled from source) on Mac OS X

[R] Statistical Learning and Datamining course based on R/Splus tools

2004-01-07 Thread Trevor Hastie
Short course: Statistical Learning and Data Mining Trevor Hastie and Robert Tibshirani, Stanford University Sheraton Hotel Palo Alto, CA Feb 26-27, 2004 This two-day course gives a detailed overview of statistical models for data mining, inference and prediction. With the rapid

[R] 3-dimensional looping Q.

2004-01-07 Thread Maurice McHugh
Hello everyone- I have a 3-d array with the 1st dimension being monthly mean data that I would like to correlate with some time series index, for example, and save the coefficients in an array. The code I am currently running is rData - array(0,c(73,144)) # array to store results