xtile: Cut numeric x in quantile

Description Usage Arguments Value Examples

Description

Cut numeric x in quantile

Usage

1
xtile(x,n)

Arguments

x

numeric vector

n

number of quantiles

Value

A factor vector.

Examples

1
2
tertiles <- xtile(rnorm(1000),3)
table(tertiles)


Search within the yapomif package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.