Description Usage Arguments Value
Steps 2–7 of Algorithm 2.1, factored into a common function that can be used by a variety of distance metrics
1 2 3 4 |
A |
data matrix |
L |
truncated SVD of A |
t |
scalar threshold value |
filter |
"distributed" for full threshold evaluation of pruned set on parallel workers, "local" for sequential evaluation of full threshold of pruned set to avoid copying data matrix. |
normlim |
the squared norm limit in step 4, default value is for correlation |
full_dist_fun |
non-projected distance function of a two-column matrix of rows of column indices that needs scoped access to A (step 7), default function is for correlation |
filter_fun |
filter function of a vector and scalar that thresholds vector values from full_dist_fun, returning a logical vector of same length as v (step 7), default function is for correlation |
dry_run |
a logical value, if |
anti |
a logical value, if |
group |
either |
a list with indices, ell, tot, and longest_run entries, unless dry_run=TRUE
in which case
a list with ell and tot is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.