sortStanza | R Documentation |
Receive key stanza and sort the rows so that the missing values are last in the list. Leaves ordering of other rows unchanged otherwise.
sortStanza(
keyblock,
valvar = "value_new",
na.strings = c("\\.", "", "\\s+", "N/A")
)
keyblock |
a variable key, or section of rows |
valvar |
Default is "value_new", the column for sorting. |
na.strings |
Stings to be treated as missing, along with R's NA symbol |
keyblock, row re-arranged with missings last
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.