View source: R/sum_last_column.R
sum_last_column | R Documentation |
This is a general function that computes the sum of the last (rightmost) column of a data frame indexed by the combinations of values of all of the preding columns of that data frame.
sum_last_column(indata)
indata |
data frame. last (rightmost) column must be numeric. |
a data frame with same names as indata for which the last column is the computed sum of values in the last column of indata
Sara Hertog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.