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



-- 
View this message in context: 
http://r.789695.n4.nabble.com/Help-on-implementing-a-function-tp3163464p3163464.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to