Description Usage Arguments Details Value Author(s) References

Perform binning.

1 2 |

`x` |
the numeric data to bin. |

`bins` |
the number of bins to use. |

`method` |
whether to use "quantile", weighted quantile "wtd.quantile" or "kmeans" binning. |

`labels` |
the labels or names to use for each of the bins. |

`ordered` |
whether to build an ordered factor or not. |

`weights` |
vector of numeric weights for each observation for weighted quantile binning. |

Bin the provided nmeric data into the specified number of bins using one of the supported methods. The bins will have the names specified by labels, if supplied. The result can optionally be an ordered factor.

A factor is returned.

Daniele Medri and Graham Williams

Package home page: https://rattle.togaware.com

rattle documentation built on Aug. 17, 2018, 5:04 p.m.

Embedding an R snippet on your website

Add the following code to your website.

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