Description Usage Arguments Details Value Author(s) Examples

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<[email protected]>

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

rknn documentation built on May 30, 2017, 3:33 a.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.