Make new chefStats functions
Usage
use_chefStats(
fn_name,
fn_type = c("stat_by_strata_by_trt", "stat_by_strata_across_trt",
"stat_across_strata_across_trt"),
file_name = NULL
)
Arguments
- fn_name
Name of the function. If file_name is
NULL
thenfn_name
will be used to make the file name- fn_type
Type of statistical function, one of
stat_by_strata_by_trt
,stat_by_strata_across_trt
, orstat_across_strata_across_trt
- file_name
Name of the file to store function in (if different from
fn_name
)