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

string

Generates a String Representation of a Fingerprint


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

## 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)

Examples

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

# print out the string representation
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.