Re: [R] Help on implementing a function

2010-12-24 Thread Sarah Goslee
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 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.n

[R] Help on implementing a function

2010-12-24 Thread F
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'