[R] which classification package in R can assign sample weight?

2007-01-23 Thread Weiwei Shi
Hi, I am looking for some function implemented in R for classification, which has an option to allow me to assign sample weights in learning process? Implementation of a wrapper function is possible but I am curious if it already exists somewhere. Thanks, -- Weiwei Shi, Ph.D Research Scientist

Re: [R] which classification package in R can assign sample weight?

2007-01-23 Thread Prof Brian Ripley
Almost all methods I know of do: logistic regression, neural nets, classification trees, PPR Have you looked at the help pages for any of these? On Tue, 23 Jan 2007, Weiwei Shi wrote: Hi, I am looking for some function implemented in R for classification, which has an option to allow

Re: [R] which classification package in R can assign sample weight?

2007-01-23 Thread Weiwei Shi
Just checked ?lrm ?nnet ?rpart ?ppr thanks. but wondering if the last one can do classification? On 1/23/07, Prof Brian Ripley [EMAIL PROTECTED] wrote: Almost all methods I know of do: logistic regression, neural nets, classification trees, PPR Have you looked at the help pages for

Re: [R] which classification package in R can assign sample weight?

2007-01-23 Thread Prof Brian Ripley
On Tue, 23 Jan 2007, Weiwei Shi wrote: Just checked ?lrm (I would use glm or multinom.) ?nnet ?rpart ?ppr thanks. but wondering if the last one can do classification? Yes, it has been so used since it can do multivariate outcomes. See Chapter 4 of my PRNN book, for example. On