Re: [R] quantile of a discrete random variable

2015-06-25 Thread David Winsemius
On Jun 25, 2015, at 7:26 AM, L... L... wrote: > Dear all, is there a general method for calculating the quantile of a > discrete random variable? If yes, is there a R function to do this? The `quantile` function would seem to be the first place to go. It may depend on the object-type of your r

Re: [R] quantile of a discrete random variable

2015-06-25 Thread David L Carlson
There is a function called quantile() that provides 9 methods of computing quantiles, three of which are appropriate for discontinuous data. Type ?quantile at the command prompt for details. - David L Carlson Department of Anthropology Texas A&M University Co