We really can't help unless you give us a repeatable example of what you've done.
Sarah On Fri, Dec 24, 2010 at 2:21 PM, F <felb...@yahoo.com.br> wrote: > > I have a vector which is an interval on which I'm trying to calculate the > values of the following function for a probability distribution: > > http://r.789695.n4.nabble.com/file/n3163464/Equation.jpg > > I want to generate a k-size sample of values following the distribution > above. > > For some reason, I'm getting problems such as NAs o NaNs... > > Can any one give me some help on this one? > > thanks > > > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ R-help@r-project.org 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.