qcombine(mat, combined.columns, elim.old = TRUE)
TRUE
eliminates the columns that are
combined together by the named match.list. TRUE
outputs the table
proportionally (see prop
).Returns a dataframe with combines columns.
Quickly combine columns (summed) and rename.
## <strong>Not run</strong>: # A <- list( # a = c(1, 2, 3), # b = qcv(mpg, hp), # c = c("disp", "am") # ) # B <- list( # c(1, 2, 3), # d = qcv(mpg, hp), # c("disp", "am") # ) # # qcombine(head(mtcars), A) # qcombine(head(mtcars), B) # qcombine(head(mtcars), B, elim.old = FALSE) # ## <strong>End(Not run)</strong>
transform