View source: R/convenience_functions.R
| get_numerator | R Documentation |
For many functions, the numerator of association indices is needed, rather than the final network. This function allows to user to easily extract these.
get_numerator(data, data_format = "SP", return = "vector")
data |
The association data |
data_format |
Character, indicating what form the data is in. |
return |
Character, indicating whether a vector or square matrix should be returned |
The association index does not need to be specified, as they almost all use the same numerator. Data format can be either "SP" or "GBI", the two main data formats used by "asnipe".
Either a vector of numerators (if return = "vector") or a square matrix of numerators (if return = "matrix").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.