These functions can be used to produce tables from RBMI.
h_tidy_pool(x, visit_name, group_names)s_rbmi_lsmeans(df, .in_ref_col, show_relative = c("reduction", "increase"))
a_rbmi_lsmeans(
df,
ref_path,
.spl_context,
...,
.stats = NULL,
.formats = NULL,
.labels = NULL,
.indent_mods = NULL
)
h_tidy_pool() returns a data.frame with results of pooled analysis for a single visit.
s_rbmi_lsmeans() returns a list of statistics extracted from a tidied LS means data frame.
(list)
is a list of pooled object from rbmi analysis results.
This list includes analysis results, confidence level, hypothesis testing type.
(string)
single visit level.
(character)
group levels.
(data.frame)
input with LS means results.
(flag)
whether reference column is specified.
(string)
'reduction' if (control - treatment, default)
or 'increase' (treatment - control) of relative change from baseline?
(character)
global reference group specification, see get_ref_info().
(data.frame)
gives information about ancestor split states
that is passed by rtables.
additional arguments for the lower level functions.
(character)
statistics to select for the table.
(named character or list)
formats for the statistics. See Details in analyze_vars for more
information on the 'auto' setting.
(named character)
labels for the statistics (without indent).
(named integer)
indent modifiers for the labels. Defaults to 0, which corresponds to the
unmodified default behavior. Can be negative.
h_tidy_pool(): Helper function to produce data frame with results
of pool for a single visit.
s_rbmi_lsmeans(): Statistics function which is extracting estimates
from a tidied RBMI results data frame.
a_rbmi_lsmeans(): Formatted Analysis function which is used as afun.