string: Generates a String Representation of a Fingerprint

Description Usage Arguments Value Author(s) Examples

Description

The function returns a string of 1's and 0's corresponding to the fingerprint object supplied

Usage

1
2
## S4 method for signature 'fingerprint'
as.character(x)

Arguments

x

An object of class fingerprint

Value

A string of 1's and 0's

Author(s)

Rajarshi Guha rguha@indiana.edu

Examples

1
2
3
4
5
# make a fingerprint vector
fp <- new("fingerprint", nbit=32, bits=sample(1:32, 20))

# print out the string representation
as.character(fp)

Example output

[1] "11001101110100111111011011110000"

fingerprint documentation built on May 2, 2019, 4:10 p.m.