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 or a character vector of features depending on the nature of the fingerprint supplied.

Usage

1
2
3
4
5
6
## S4 method for signature 'fingerprint'
as.character(x)
## S4 method for signature 'featvec'
as.character(x)
## S4 method for signature 'feature'
as.character(x)

Arguments

x

An object of class fingerprint, featvec or feature

Value

A string of 1's and 0's or else a character vector of features (with their counts)

Author(s)

Rajarshi Guha rajarshi.guha@gmail.com

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)


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.