I am trying to generate a vector of random numbers with the constraint that they have to sum up to one with uniform distribution.
eg. {0.1,0.7,0.2 }
any function to do this? Thanks.
______________________________________________
[email protected] 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.
