Share

Description Usage Arguments Value Examples

View source: R/xtile.R

Cut numeric x in quantile

1

xtile(x,n)

x

numeric vector

n

number of quantiles

A factor vector.

1 2

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

Add the following code to your website.

REMOVE THIS Copy to clipboard

For more information on customizing the embed code, read Embedding Snippets.