Description Usage Arguments Details Value Examples
View source: R/jamie-internals.R
This function populates a matrix[i, j] based on the columns of a dataframe where i and j are both indices for 1 to the number of columns in x.
1 | col_pairs_to_matrix(x, FUN, ...)
|
x |
A dataframe. |
FUN |
A function to be applied to each pair of columns in x. |
... |
Additional arguments to be passed to FUN. |
The input must be a dataframe or an error will result.
A matrix[i, j] based on all pairs of columns in x.
1 2 3 4 | ## Not run:
col_pairs_to_matrix(a_dataframe, NMI))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.