Function creates a new wrapper function around get_mmrm_sample()
so that the arguments of get_mmrm_sample()
are enclosed within
the new function. This makes running parallel and single process
calls to the function smoother. In particular this function takes care
of exporting the arguments if required to parallel process in a cluster
Arguments
- cl
Either a cluster from
get_cluster()
orNULL
- longdata
A longdata object from
longDataConstructor$new()
- method
A method object
See also
get_cluster()
for more documentation on the function inputs