encap_get_mmrm_sample {rbmi}R Documentation

Encapsulate get_mmrm_sample

Description

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

Usage

encap_get_mmrm_sample(cl, longdata, method)

Arguments

cl

Either a cluster from get_cluster() or NULL

longdata

A longdata object from longDataConstructor$new()

method

A method object

See Also

get_cluster() for more documentation on the function inputs


[Package rbmi version 1.2.6 Index]