as.character | R Documentation |
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.
## S4 method for signature 'fingerprint' as.character(x) ## S4 method for signature 'featvec' as.character(x) ## S4 method for signature 'feature' as.character(x)
x |
An object of class |
A string of 1's and 0's or else a character vector of features (with their counts)
Rajarshi Guha rajarshi.guha@gmail.com
# make a fingerprint vector fp <- new("fingerprint", nbit=32, bits=sample(1:32, 20)) # print out the string representation as.character(fp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.