as.character

0th

Percentile

Generates a String Representation of a Fingerprint

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.

Keywords
methods, logic
Usage
# S4 method for fingerprint
as.character(x)
# S4 method for featvec
as.character(x)
# S4 method for 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)

Aliases
  • as.character
  • as.character,fingerprint-method
  • as.character,featvec-method
  • as.character,feature-method
Examples
# NOT RUN {
# make a fingerprint vector
fp <- new("fingerprint", nbit=32, bits=sample(1:32, 20))

# print out the string representation
as.character(fp)
# }
Documentation reproduced from package fingerprint, version 3.5.7, License: GPL

Community examples

Looks like there are no examples yet.