[R] classification using zero-inflated negative binomial mixture model

2012-07-08 Thread Kai Ying
ive effect(but I am not interested in it). I have tried the zeroinfl function of pscl package to fit zero-inflated negative binomial regression. But it can not give you the classification result of "count". Can anyone help with some indication of how to do it or other tools that can

Re: [R] sweave options with variable

2011-04-17 Thread Kai Ying
11-04-17 2:41 AM, Kai Ying wrote: > >> hello: >>Do any one know how to set sweave option by variable, for example I >> want >> set some of my selected code chunk with: >> <>= rather than<>=, so I can change the action >> only in the head by ch

[R] sweave options with variable

2011-04-16 Thread Kai Ying
hello: Do any one know how to set sweave option by variable, for example I want set some of my selected code chunk with: <>= rather than <>=, so I can change the action only in the head by change the variable "needRun" one times. I have tried use "\Def" and "\newcommand", both do not work, so I