rndfp: Generate Randomized Fingerprints

Description Usage Arguments Value Author(s) Examples

Description

A utility function that can be used to generate binary fingerprints of a specified length with a specifed number of bit positions (selected randomly) set to 1. Currently bit positions are selected uniformly

Usage

1

Arguments

nbit

The length of the fingerprint, that is, the total number of bits. Must be a positive integer.

on

How many positions should be set to 1

Value

An object of class fingerprint

Author(s)

Rajarshi Guha rguha@indiana.edu

Examples

1
2
3
# make a fingerprint vector
fp <- random.fingerprint(32, 16)
as.character(fp)


Search within the fingerprint package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? 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.