[R] off-topic: better OS for statistical computing

2007-09-10 Thread Wensui Liu
Good morning, everyone, I am sorry for this off-topic post but think I can get great answer from this list. My question is what is the best OS on PC (laptop) for statistical computing and why. I really appreciate your insight. Have a nice day. __

[R] install packages automatically

2007-09-10 Thread Wensui Liu
Dear Listers, I am a little tired of installing all packages I want every time when I instill a new version of R. Say, if I have a list of packages I need to use, is it possible to tell R to install them all for me automatically rather than I install them one by one? Thx.

[R] sqldf rocks

2007-09-07 Thread Wensui Liu
Man, I love this package and the guy who contributes it! -- === I am dying with the help of too many physicians. - Alexander the Great, on his deathbed === WenSui Liu (http://spaces.msn.com/statcompute/blog

Re: [R] size limitations in R

2007-08-31 Thread Wensui Liu
, reproducible code. -- === I am dying with the help of too many physicians. - Alexander the Great, on his deathbed === WenSui Liu (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch

Re: [R] nnet 10-fold cross-validation

2007-07-23 Thread Wensui Liu
and provide commented, minimal, self-contained, reproducible code. -- === I am dying with the help of too many physicians. - Alexander the Great, on his deathbed === WenSui Liu (http://spaces.msn.com/statcompute/blog

Re: [R] package with roc, sensitivity, specificity, kappa etc

2007-07-01 Thread Wensui Liu
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know

Re: [R] method of rpart when response variable is binary?

2007-06-15 Thread Wensui Liu
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little

Re: [R] Tools For Preparing Data For Analysis

2007-06-08 Thread Wensui Liu
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch

Re: [R] R is not a validated software package..

2007-06-08 Thread Wensui Liu
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy

Re: [R] R is not a validated software package..

2007-06-08 Thread Wensui Liu
, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] R is not a validated software package..

2007-06-08 Thread Wensui Liu
. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know

Re: [R] Neural Net. in R

2007-06-06 Thread Wensui Liu
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician

Re: [R] Import data from Access

2007-05-31 Thread Wensui Liu
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http

Re: [R] Excel data into R

2007-05-14 Thread Wensui Liu
, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Read SAS data into R

2007-05-10 Thread Wensui Liu
. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Neural Nets (nnet) - evaluating success rate of predictions

2007-05-07 Thread Wensui Liu
-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Reasons to Use R

2007-04-11 Thread Wensui Liu
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute

Re: [R] Reasons to Use R

2007-04-11 Thread Wensui Liu
-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little

Re: [R] Reasons to Use R [Broadcast]

2007-04-09 Thread Wensui Liu
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing

Re: [R] How to choose the df when using GAM function?

2007-04-02 Thread Wensui Liu
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog

Re: [R] Problem dropping rows based on values in a column

2007-03-25 Thread Wensui Liu
}} __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician

Re: [R] Problem dropping rows based on values in a column

2007-03-25 Thread Wensui Liu
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com

[R] any way to append a table in SQL server

2007-03-20 Thread Wensui Liu
Dear Lister, Is there an interface in R with SQL server that allows me to append records to table in the DB? Might I do that using RODBC? Thanks a lot. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog

[R] any simple way to put comment with multiple lines

2007-03-18 Thread Wensui Liu
Dear Lister, I understand I can put '#' to put comment line by line. But is there a way to put comment with multiple lines without having to put '#' on the every line? Thanks. __ R-help@stat.math.ethz.ch mailing list

Re: [R] plot.randomForest default mtry values

2007-03-15 Thread Wensui Liu
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help

Re: [R] read.table for a subset of data

2007-03-11 Thread Wensui Liu
-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] read.table for a subset of data

2007-03-11 Thread Wensui Liu
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help

Re: [R] use nnet

2007-03-09 Thread Wensui Liu
and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] use nnet

2007-03-09 Thread Wensui Liu
AM, Sorry. please ignore the top box in the code. It is not actually a cv validation but just a simple split-sample validation. sorry for confusion. On 3/9/07, Wensui Liu [EMAIL PROTECTED] wrote: AM, I have a pieice of junk on my blog. Here

Re: [R] Extracting text from a character string

2007-03-09 Thread Wensui Liu
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu

Re: [R] use nnet

2007-03-09 Thread Wensui Liu
At 12:39 PM 3/9/2007, Wensui Liu wrote: AM, Sorry. please ignore the top box in the code. It is not actually a cv validation but just a simple split-sample validation. sorry for confusion. On 3/9/07, Wensui Liu [EMAIL PROTECTED] wrote: AM, I have a pieice of junk on my blog. Here

Re: [R] Heteroskedastic Time Series

2007-03-05 Thread Wensui Liu
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com

[R] [friday topic]: what exactly is statistical computing

2007-03-02 Thread Wensui Liu
Dear List, on www.r-project.org, the title says 'The R Project for Statistical Computing'. but what exactly is the definition of statistical computing? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] [friday topic]: what exactly is statistical computing

2007-03-02 Thread Wensui Liu
for a while. You already know all this. I am not sure why you are asking this question. Roger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wensui Liu Sent: Friday, March 02, 2007 9:43 AM To: r-help@stat.math.ethz.ch Subject: [R] [friday topic]: what

Re: [R] Another newbie book recommandation question

2007-03-01 Thread Wensui Liu
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog

Re: [R] Help on GAM

2007-02-28 Thread Wensui Liu
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http

Re: [R] question regression trees

2007-02-28 Thread Wensui Liu
. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] rpart minimum sample size

2007-02-27 Thread Wensui Liu
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog

Re: [R] Datamining-package-?

2007-02-27 Thread Wensui Liu
. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Partial whitening of time series?

2007-02-26 Thread Wensui Liu
, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] If you had just one book on R to buy...

2007-02-25 Thread Wensui Liu
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com

Re: [R] Chi-Square test

2007-02-22 Thread Wensui Liu
and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Randomly extract rows from a data frame

2007-02-18 Thread Wensui Liu
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https

Re: [R] How to add obj to a list?

2007-02-15 Thread Wensui Liu
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu

Re: [R] rpart tree node label

2007-02-14 Thread Wensui Liu
code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Linking R with Microsoft SQL Server / Client

2007-02-12 Thread Wensui Liu
, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] SQL statements (directly) in R

2007-02-12 Thread Wensui Liu
, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Help neural network in R

2007-02-12 Thread Wensui Liu
commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Query about merging two tables

2007-02-06 Thread Wensui Liu
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com

Re: [R] R in Industry

2007-02-06 Thread Wensui Liu
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute

Re: [R] rpart

2007-02-05 Thread Wensui Liu
as prediction accuracy measure. Someone told me I should not trust one tree and should do bagging. Is this correct? Aimin At 03:11 PM 2/5/2007, Wensui Liu wrote: are you sure you are using the same setting, tree size, and so on? On 2/5/07, Aimin Yan [EMAIL PROTECTED] wrote: Hello, I have

Re: [R] Loop with string variable AND customizable summary output

2007-01-29 Thread Wensui Liu
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog

Re: [R] question about nnet

2007-01-28 Thread Wensui Liu
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list

Re: [R] nnet question

2007-01-28 Thread Wensui Liu
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little

Re: [R] comparing random forests and classification trees

2007-01-28 Thread Wensui Liu
commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

[R] how to create daily / weekly ts object?

2007-01-26 Thread Wensui Liu
Dear All, Monthly and Quarterly ts obj. is easy to understand. But I couldn't find an example in R manual how to create daily or weekly ts object. Could you please shed some light on it? I really appreciate it. __ R-help@stat.math.ethz.ch mailing list

Re: [R] New to R

2006-12-31 Thread Wensui Liu
, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] OT: any recommendation for scripting language

2006-12-30 Thread Wensui Liu
please give such an example? Wish you all have a happy new year! wensui On 12/23/06, Wensui Liu [EMAIL PROTECTED] wrote: Right now, I am using SAS and S+/R. As a new year resolution, I am planning to learn a scripting language. from statisticians' point of view, which scripting language is worth

Re: [R] how to transform string to variable name in a fuction?

2006-12-26 Thread Wensui Liu
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog

[R] OT: any recommendation for scripting language

2006-12-23 Thread Wensui Liu
Right now, I am using SAS and S+/R. As a new year resolution, I am planning to learn a scripting language. from statisticians' point of view, which scripting language is worth to learn, perl, python, or any other recommendation? (Most likely, I will be learning it in windows.) Since I am not in

Re: [R] X-fold cross validation function for discriminant analysis

2006-11-16 Thread Wensui Liu
and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Cincinnati Children Hospital Medical Center __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Comparison between GARCH and ARMA

2006-11-07 Thread Wensui Liu
}} __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute

Re: [R] Automatic File Reading [Broadcast]

2006-10-28 Thread Wensui Liu
Andy, First of all, thanks for your solution. When I test your code, it doesn't work. I am not sure if I miss something. Here is the code I tested: flist-list.files(path = file.path(, c:\\),pattern=[.]csv$) csvlist-lapply(flist, read.csv, header = TRUE) Here is the error: Error in file(file,

Re: [R] R gams

2006-10-27 Thread Wensui Liu
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Cincinnati Children Hospital Medical

Re: [R] how to convert multiple dummy variables to 1 factor variable?

2006-10-22 Thread Wensui Liu
: On Sun, 2006-10-22 at 09:35 +0200, Peter Dalgaard wrote: Marc Schwartz [EMAIL PROTECTED] writes: On Sat, 2006-10-21 at 21:04 -0400, Wensui Liu wrote: Dear Listers, I am wondering how to convert multiple dummy variables to 1 factor variable. Thanks. wensui I

[R] how to convert multiple dummy variables to 1 factor variable?

2006-10-21 Thread Wensui Liu
Dear Listers, I am wondering how to convert multiple dummy variables to 1 factor variable. Thanks. wensui __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] RODBC problem

2006-10-20 Thread Wensui Liu
In a mdb table, I have a text field with values of 1, 2, When I use rodbc to read it into R, it becomes numeric. Is it a bug or something? Thanks. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Automatic File Reading

2006-10-18 Thread Wensui Liu
, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Cincinnati Children Hospital Medical Center __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Question about merge()

2006-09-23 Thread Wensui Liu
] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http

Re: [R] Data frames questions

2006-09-23 Thread Wensui Liu
3) How to I append to the bottom of a dataframe? APPEND ROWS ITERATIVELY TO A DATA FRAME # # APPEND ROWS ITERATIVELY TO A DATA FRAME # # # LOOP FROM 1 TO 10 for(i in 1:10) { # SET THE RANDOM

Re: [R] Problem with rpart

2006-09-19 Thread Wensui Liu
-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior

[R] how to rescale the limits of yaxis rather than using the data range by default?

2006-09-16 Thread Wensui Liu
Dear Lister, plot() is using the data range as the default limits of yaxis. Is there any way I can change the limits? I just look at the help of plot() and par() and couldn't find answers. Thanks. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health

Re: [R] how to rescale the limits of yaxis rather than using the data range by default?

2006-09-16 Thread Wensui Liu
HI, Peter, It is exactly what I want. Thank you so much! wensui On 9/16/06, Peter Konings [EMAIL PROTECTED] wrote: Hi, I'm not sure I understand your question correctly, but does the ylim option of plot do what you want? HTH Peter. On 9/16/06, Wensui Liu [EMAIL PROTECTED] wrote

Re: [R] Table manipulation question

2006-09-14 Thread Wensui Liu
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy

Re: [R] R-question

2006-09-13 Thread Wensui Liu
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center

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] variables in object names

2006-09-12 Thread Wensui Liu
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical

[R] refer to objects with sequential names

2006-08-27 Thread Wensui Liu
Dear Listers, If I have several glm objects with names glm1, glm2 and want to apply new data to these objects. Instead of typing predict(glm1, newdata)... 100 times, is there way I could do so in a loop? Thank you so much! wensui [[alternative HTML version deleted]]

[R] for() loop question

2006-08-26 Thread Wensui Liu
Dear Lister, If I have a list of number, say x-c(0.1, 0.5, 0.6...), how to use a for() to loop through each number in x one by one? Thank you so much! wensui [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] how to create many objects with sequencial names?

2006-08-26 Thread Wensui Liu
Dear Lister, Is there a way to create many objects with sequencial names, say lm1, lm2...lm100? Thanks. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] how to create many objects with sequencial names?

2006-08-26 Thread Wensui Liu
could do it in a loop: result - list() for(i in 1:100){ ..computation. result[[i]] - yourResult } On 8/26/06, Wensui Liu [EMAIL PROTECTED] wrote: Dear Lister, Is there a way to create many objects with sequencial names, say lm1, lm2...lm100? Thanks

[R] merge 2 data frame based on more than 2 variables

2006-08-14 Thread Wensui Liu
Dear Lister, I understand merge() can be used to join 2 data frames based on 1 variable. But how about merge based on more than 2 variables? Thank you so much! -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness

Re: [R] merge 2 data frame based on more than 2 variables

2006-08-14 Thread Wensui Liu
what if the names are different in 2 data frames? On 8/14/06, Simon Blomberg [EMAIL PROTECTED] wrote: Wensui Liu wrote: Dear Lister, I understand merge() can be used to join 2 data frames based on 1 variable. But how about merge based on more than 2 variables? Thank you so much

Re: [R] lasso for variable selection

2006-08-12 Thread Wensui Liu
-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center [[alternative HTML version deleted

Re: [R] proc standardize data frame x and y

2006-08-12 Thread Wensui Liu
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness

Re: [R] proc standardize data frame x and y

2006-08-12 Thread Wensui Liu
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center

Re: [R] How to obtain 95th percentile of a normal distribution of a continuous variable

2006-07-23 Thread Wensui Liu
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy

[R] comparison between parametric and semiparametric models

2006-07-13 Thread Wensui Liu
Dear Listers, I have a question somehow off-topic but think I can find a good answer here. Using the same dataset, I've built a logistic regression and generalized additive model. Might I use likelihood ratio test to see if there is significant improvement in GAM model? Something like: (deviance

Re: [R] Data Manipulations - Group By equivalent

2006-07-01 Thread Wensui Liu
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy

Re: [R] R connectivity to database

2006-06-23 Thread Wensui Liu
- [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http

Re: [R] is there a way to find the best ARIMA model automatically in R?

2006-05-18 Thread Wensui Liu
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center __ R

[R] how to read/write tables in xml

2006-04-04 Thread Wensui Liu
Dear Listers, I have 2 questions regarding xml. 1) how to read/write tables in xml? 2) compared with csv, is xml a better way to transfer data cross systems/applications? Thank you so much for your insight. -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Health

Re: [R] can R be run without installation on to a computer

2006-03-31 Thread Wensui Liu
-- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https

Re: [R] [Q] BIC as a goodness-of-fit stat

2006-03-06 Thread Wensui Liu
-project.org/posting-guide.html -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center [[alternative HTML version deleted]] __ R-help

Re: [R] Question about variable selection

2006-02-18 Thread Wensui Liu
://socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wensui Liu Sent: Saturday, February 18, 2006 2:03 PM To: Liaw, Andy Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Question about variable

Re: [R] How to handle large dataframes?

2006-02-14 Thread Wensui Liu
22 12 Fax: +41 61 270 22 25 [EMAIL PROTECTED] www.unibas.ch/ispmbs __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui

Re: [R] statistical modelling SAS vs R

2006-02-03 Thread Wensui Liu
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Health Policy and Clinical Effectiveness

Re: [R] Announce: Contributed Documentation

2006-01-30 Thread Wensui Liu
://vgoulet.act.ulaval.ca __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst

Re: [R] Can R handle medium and large size data sets?

2006-01-24 Thread Wensui Liu
do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center [[alternative HTML version deleted

Re: [R] Easy, Robust and Stable GUI???

2006-01-24 Thread Wensui Liu
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center

  1   2   >