Description Usage Arguments Value Author(s) Examples

'discretize' function performs a basic discretization using binning.

1 | ```
discretize(x, no.bin = 5)
``` |

`x` |
Data frame. |

`no.bin` |
Number of bin. 'FD' to use the Freedman-Diaconis rule for identifying number of bins. The number of bin is 'max-min/2*IQR*n^-(1/3)'. 'ThreeStage' to discretize data into three stages. 1 if data is more than mu+sigma/2; 0=-1 if data is less than mu - sigma/2; otherwise 0. |

Return the discretized data

Saisakul Chernbumroong

1 2 | ```
data(iris)
iris.bin = discretize(iris, no.bin = 5)
``` |

mdapack documentation built on July 1, 2020, 10:30 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.