Re: [R] R question

2007-05-04 Thread Marc Schwartz
On Fri, 2007-05-04 at 12:05 -0500, Bill Vorias wrote: I had a question about Random Forests. I have a text file with 10 dichotomous variables and a bivariate response vector. I read this file into R as a data frame, and then used the command randomForest(Response ~., dataset, etc.. where

Re: [R] R question [Broadcast]

2007-05-04 Thread Liaw, Andy
Bill, A couple more points: 1. Please use an informative subject line. I'd deleted the original post w/o reading if I didn't catch Marc's reply. 2. Are you sure you have bivariate response? To me bivariate means two variables, and randomForest surely does not handle that (at least

Re: [R] R-question

2006-09-13 Thread Jim Lemon
Thorsten Muehge wrote: Hello Colleagues, I programmed in SAS for 3 years and would like to switch to a not so costly software product. Hence I started to evaluate R, and my first test look promising. However I have some question: 1. Is it possible to query R files by SQL internally

Re: [R] R-question

2006-09-13 Thread Anupam Tyagi
Thorsten Muehge MUEHGE at de.ibm.com writes: 1. Is it possible to query R files by SQL internally on data frames (not on a database) and how is the syntax (I have the RODBC package installed). It is possible to do similar things conceptually in R as in SQL---at least the basic SQL queries (I

Re: [R] R-question

2006-09-13 Thread Wensui Liu
For your 1st question, you can write query against the tables in DB using RODBC. Being a SAS programmer, I have to say that reporting function of R is not as good as that of SAS. On 9/13/06, Thorsten Muehge [EMAIL PROTECTED] wrote: Hello Colleagues, I programmed in SAS for 3 years and

Re: [R] R-question

2006-09-13 Thread Frank E Harrell Jr
Wensui Liu wrote: For your 1st question, you can write query against the tables in DB using RODBC. Being a SAS programmer, I have to say that reporting function of R is not as good as that of SAS. I beg to differ. See for example http://biostat.mc.vanderbilt.edu/StatReport Frank Harrell

Re: [R] R-question

2006-09-13 Thread Wensui Liu
well, Harrell, I understand sweave or R2html could be a solution. but please show me their applications in a large business setting. On the contrary, I can give you many such cases using SAS. On 9/13/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: Wensui Liu wrote: For your 1st question,

Re: [R] R-question

2006-09-13 Thread Frank E Harrell Jr
Wensui Liu wrote: well, Harrell, I understand sweave or R2html could be a solution. but please show me their applications in a large business setting. On the contrary, I can give you many such cases using SAS. SAS requires much more coding than R/S-Plus to produce reports that are not

Re: [R] R-question

2006-09-13 Thread Greg Snow
I don't believe that doing a direct SQL query on a native R object is currently possible, others have pointed out ways to do some of the things you would want SQL for using built-in R commands. If you really want to use SQL you could transfer the data frames you want to use to database tables,

Re: [R] r question

2005-11-27 Thread Uwe Ligges
Please, 1. read the posting guide 2. use a sensible subject line 3. this is NOT an r question 4. ask your teacher to explain your homeworks, but not this list Uwe Ligges yuying shi wrote: If there are two random variable X1 and X2 which have a bivariate normal distribution with mean vector

Re: [R] r question

2005-11-27 Thread Peter Dalgaard
Uwe Ligges [EMAIL PROTECTED] writes: Please, 1. read the posting guide 2. use a sensible subject line 3. this is NOT an r question 4. ask your teacher to explain your homeworks, but not this list Uwe Ligges And, btw, neither the mean nor the variance exists, so the question is

Re: [R] R question

2004-09-05 Thread Kjetil Brinchmann Halvorsen
house-ball wrote: Why do you repeat an unclear question fou times? Please read the posting guide. It is not clear what is your problem. Kjetil halvorsen Hi, Would you help me solve the following question? Thanks. my program is as follows: library(mvtnorm) value-pmvnorm(lower=-Inf,

Re: [R] R question

2004-09-04 Thread Kjetil Brinchmann Halvorsen
house-ball wrote: Hi, Would you help me solve the following question? Thanks. Question: If I try to set the probability=0.05 and find the approximate x. (The answer should be somewhere between 2.1782 and 2.1783.) I write about this R program as follows but I don¡¦t know how to get the value of x

Re: Data Frame (was: Re: [R] r-question

2003-07-13 Thread Spencer Graves
Have you read ?data? hope this helps. spencer graves Ko-Kang Kevin Wang wrote: (Please use a more meaningful subject) Can you be more specific with your question? Do you want to access an example data set and if so, which one? Or do you want to create a data frame within R? Or do you want

Re: [R] r-question

2003-07-12 Thread Marc R. Feldesman
At 10:09 PM 7/12/2003, dg gdf wrote: I am student in Iran(IUT) that work on R software as my project. I need to some data frames in version 1.7.0, but these are not available. please help me. __ It isn't clear exactly what help you need. We are most