Description Usage Arguments Value Examples
Convert character vector of pairwise features (i.e. siblings) into numeric matrix of indices from the original feature matrix X
1 | split_sibling_indices(siblings)
|
siblings |
a vector of sibling names made of indices concatenated by underscore (is a string) |
returns siblings as a numeric vector of indices rather than the character vector version of said indices
1 2 | siblings <- c("1_3", "20_5", "100_110", "101_50")
sibling_indices <- split_sibling_indices(siblings)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.