do_counts | R Documentation |
Compute how many columns in a data set are pairwise defined for each combination of two rows. Given a selection of two rows, a column is pairwise defined if its elements are defined for both rows (i.e. neither row has NA
for that column).
do_counts(fr)
fr |
A data frame. |
This code incorporates suggestions by Bill Venables (see Jan 2014 archive at https://list.science.auckland.ac.nz/sympa/arc/stat-rdownunder).
A square matrix giving the number of pairwise defined columns for every combination of two rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.