powered by
Format Disposition Analysis
format_disposition( outdata, display_col = c("n", "prop", "total"), digits_prop = 1, display_stat = c("mean", "sd", "se", "median", "q1 to q3", "range") )
A list of analysis raw datasets.
A metadata object created by prepare_sl_summary().
prepare_sl_summary()
Column wants to display on the table. The term could be selected from c("n", "prop", "total").
c("n", "prop", "total")
Number of digits for proportion columns.
A vector of statistics term name. The term name could be selected from c("mean", "sd", "se", "median", "q1 to q3", "range", "q1", "q3", "min", "max").
c("mean", "sd", "se", "median", "q1 to q3", "range", "q1", "q3", "min", "max")
meta <- meta_sl_example() meta |> prepare_disposition(population = "apat", parameter = "disposition;medical-disposition") |> format_disposition()
Run the code above in your browser using DataLab