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 College Station, TX 77840-4352 -----Original Message----- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of L... L... Sent: Thursday, June 25, 2015 9:27 AM To: r-help@r-project.org Subject: [R] quantile of a discrete random variable 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? Best regards Marcelo Lamack [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.