What function is commonly used to calculate the percentile in R?

  • quantile()
  • median()
  • mean()
  • mode()
The quantile() function in R is commonly used to calculate percentiles. It allows you to specify the desired percentile or multiple percentiles, providing flexibility in obtaining various percentile values from a numeric vector or data set.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *