Skip to contents

Arguments for the EM that estimates ctwas's group priors. Two callees, because the pipeline falls back from ctwas::est_param() to ctwas's internal fit_EM() when the accurate EM diverges; fit_EM() is not a subset of est_param() (groups, types, contexts, warn_converge_fail are its own), so the bundle is checked against both and .ctwasInvoke() drops whichever the running step does not take.

Usage

CtwasEstParamOptions(...)

Arguments

...

Any argument of either EM entry point, under ctwas's own names.

Value

A MethodOptions object.

Examples

CtwasEstParamOptions(min_group_size = 1, EM_tol = 1e-4)
#> <MethodOptions: ctwasEstParam>
#>   forwarded to ctwas::est_param(), ctwas::fit_EM()
#>   argument names checked against the 20 arguments these 2 functions accept between them
#>   min_group_size         1
#>   EM_tol                 1e-04