Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rndfp

Generate Randomized Fingerprints


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

random.fingerprint(nbit,on)

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

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

fingerprint

Functions to Operate on Binary Fingerprint Data

v3.5.7
GPL
Authors
Rajarshi Guha <rajarshi.guha@gmail.com>
Initial release
2018-01-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.