Function reference
Statistics Functions
Statistics functions should do the computation of the numbers that are tabulated later. In order to separate computation from formatting, they should not take care of rcell
type formatting themselves.
-
s_rbmi_lsmeans()
- Statistics function which is extracting estimates from a tidied LS means data frame.
Formatted Analysis functions
These have the same arguments as the corresponding statistics functions, and can be further customized by calling rtables::make_afun()
on them. They are used as afun
in rtables::analyze()
.
-
a_rbmi_lsmeans()
- Formatted Analysis function which can be further customized by calling
rtables::make_afun()
on it. It is used asafun
inrtables::analyze()
.
Analyze Functions
Analyze Functions are used in combination with the rtables layout functions, in the pipeline which creates the table.
-
summarize_rbmi()
- Analyze function for tabulating LS means estimates from tidied
rbmi
pool
results.
-
h_tidy_pool()
- Helper function to produce data frame with results of pool for a single visit
-
tidy(<pool>)
- Helper method (for
broom::tidy()
) to prepare a data frame from anpool
rbmi
object containing the LS means and contrasts and multiple visits
-
rbmi_test_data
- Example dataset for
tern.rbmi
package. This is an pool object from the rbmi analysis, seebrowseVignettes(package = "tern.rbmi")