mat_add_total_col | R Documentation |
If not specified, over all numeric columns
mat_add_total_col(df, ...)
df |
data |
... |
variables |
library(dplyr)
df <- data.frame(Char = c("A", "B"),
var_1 = c(1,2),
var_2=c(1,2),
other = c(9,10))
mat_add_total_col(df)
mat_add_total_col(df, var_1)
mat_add_total_col(df, -var_1, -Char)
mat_add_total_col(df, starts_with("var"))
mat_add_total_col(df, starts_with("not found"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.