# Auxiliary function for top-down discretization

### Description

This function is required to perform the `disc.Topdown()`

.

### Usage

1 | ```
findBest(x, y, bd, di, method)
``` |

### Arguments

`x` |
a vector of numeric value |

`y` |
class variable vector |

`bd` |
current cut points |

`di` |
candidate cut-points |

`method` |
each |

### Author(s)

HyunJi Kim polaris7867@gmail.com

### See Also

`topdown`

, `insert`

and
`disc.Topdown`

.