[R] Help on implementing a function
Sarah Goslee
sarah.goslee at gmail.com
Fri Dec 24 21:13:29 CET 2010
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 <felbuch at 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
More information about the R-help
mailing list