Description Usage Arguments Details Author(s) See Also
View source: R/pstringdistmatrix.R
Calculates the hamming distance matrix between strings.
1 2 3 |
pstringdistmatrix(a, b, method = "h", filename = NULL, weight = NULL,
maxDist = 0, ncores = NULL)
|
a |
a: R object (target); will be converted by 'as.character'. |
b |
b: R object (source); will be converted by 'as.character'. Must be the same as argument a in this version of the software. |
method |
Method for distance calculation - only option 'h' for hamming distance is supported. |
filename |
Results will be stored here as binary data |
weight |
Not used in the hamming distance measure. |
maxDist |
Not used in the hamming distance measure. |
ncores |
Not used by SPRINT, please see the SPRINT user guide. |
Calculates the hamming distance between each pair of strings. Returns an ff result matrix.
N.B. Please see the SPRINT User Guide for how to run the code in parallel using the mpiexec command.
University of Edinburgh SPRINT Team sprint@ed.ac.uk www.r-sprint.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.