powered by
Table dimensions
# S4 method for VTableTree nrow(x)# S4 method for VTableNodeInfo ncol(x)# S4 method for VTableNodeInfo dim(x)
# S4 method for VTableNodeInfo ncol(x)
# S4 method for VTableNodeInfo dim(x)
The number of rows (nrow), columns (ncol), or both (dim) of the object.
nrow
ncol
dim
(TableTree or ElementaryTable) a table object.
TableTree
ElementaryTable
lyt <- basic_table() %>% split_cols_by("ARM") %>% analyze(c("SEX", "AGE")) tbl <- build_table(lyt, ex_adsl) dim(tbl) nrow(tbl) ncol(tbl) NROW(tbl) NCOL(tbl)
Run the code above in your browser using DataLab