View source: R/column_orderings.R
column_orderings | R Documentation |
Column A is ordered ahead of column B if A[i]>=B[i]
for all rows i in which neither A or B has
missing values. A column ordering is a sequence of column names which are in order e.g. A>=B>=C.
This function returns a list of all possible orderings which are not a subset of another
ordering. The orderings are possible not definite where there are NA
s (treated as missing values).
column_orderings(df)
df |
A data frame with only atomic columns (no list or data frame columns). |
A list of vectors of column names. Each name vector gives an ordering of columns largest to smallest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.