search for: fixupprob

Displaying 1 result from an estimated 1 matches for "fixupprob".

2001 Oct 09
1
sample() help
The documentation for sample() describes the optional "prob" argument as "A vector of probabilities of obtaining the elements of the vector being sampled". Both run time behavior and source code (routine FixupProb) suggest that "prob" can be a vector of non-negative, relative weights (i.e. not necessarily normalized). Should the help be updated to reflect this? Regards, -jh- ========================================= John M. Heumann, Agilent Technologies 815 14th St. S.W., Loveland, CO 80537 US...