View source: R/tabulate_rbmi.R
s_rbmi_lsmeans | R Documentation |
s_rbmi_lsmeans(df, .in_ref_col, show_relative = c("reduction", "increase"))
df |
input dataframe |
.in_ref_col |
boolean variable, if reference column is specified |
show_relative |
"reduction" if ( |
A list of statistics extracted from a tidied LS means data frame.
library(rtables)
library(dplyr)
library(broom)
data("rbmi_test_data")
pool_obj <- rbmi_test_data
df <- tidy(pool_obj)
s_rbmi_lsmeans(df[1, ], .in_ref_col = TRUE)
s_rbmi_lsmeans(df[2, ], .in_ref_col = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.