.table_as_df | R Documentation |
table()
as Data FrameTakes the results from table()
and returns them as a data frame.
After the table()
results are made into a data frame, all the variables
are made into character columns, and the function also restores the
column types to their original classes. For strata
columns,
only observed combinations are returned.
.table_as_df(
data,
variable = NULL,
by = NULL,
strata = NULL,
useNA = c("no", "always"),
count_column = "...ard_n..."
)
data |
( |
variable |
( |
by |
( |
strata |
( |
useNA |
( |
data frame
cards:::.table_as_df(ADSL, variable = "ARM", by = "AGEGR1", strata = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.