Choose number of KNNs

1 2 3 |

`p` |
Total number of available features. |

`m` |
Number of features to be drawn by each KNN. |

`eta` |
Coverage Probability. |

`nu` |
mean mutiplicity of a feature |

`rmax` |
number of series terms for independent geometric approximation |

`nsim` |
number of simulations for geometric simulation. |

`lambda` |
mean number of silient features. |

`method` |
one of binomial, poisson, nu, geo.independent, geo.sim, geo.dependent, lambda |

Method `binomial`

and `poisson`

are approximation method for a given `eta`

value.

Method `nu`

computes `r`

for a given `nu`

.

Method `geo.independent`

, `geo.sim`

and `geo.dependent`

compute `r`

using
geomerical random variables `z`

until eachh is at least drawn once. The difference is that
`geo.independent`

ignores dependency,`geo.sim`

is a simulation method and `geo.independent`

is an exact method using `gmp`

package.

Method `lambda`

computes `r`

for a given `lambda`

.

An integer.

Shengqiao Li<lishengqiao@yahoo.com>

1 | ```
r(100, 10);
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ 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.