Allow the user to set and examine a variety of options which affect operations of the Infusion package. However, typically these should not be modified, and if they are, not more than once in a data analysis.
1 2 3
a character string holding an option name.
A named value or a list of named values. The following values, with their defaults,
are used in
and possibly other undocumented values for development purposes.
nbCluster value is the upper value of the range recommended in the
mixmod statistical documentation (Mixmod Team, 2016). If clustering by the given number(s) of clusters fails, decreasing values are tryied until success.
Infusion can perform parallel computations if several cores are available and requested though
Infusion.options(nb_cores=.). If the
doSNOW back-end is attached (by explicit request from the user), it will be used; otherwise,
pbapply will be used. Both provide progress bars, but
doSNOW may provide more efficient load-balancing. The character shown in the progress bar is
'P' for parallel via
'p' for parallel via
pbapply functions, and
's' for serial via
pbapply functions. I addition,
add_simulation can parallelise at two levels: at an outer level over parameter point, or atan inner level over simulation replicates for each parameter point. The progress bas of the outer computation is shown, but the character shown in the progress bar is
'N' if the inner computation is parallel via the
doSNOW backend, and
'n' if it is parallel via
pbapply functions. So, one should see either
'N' when using
Infusion.getOption, the current value set for option
NULL if the option is unset.
Infusion.options(), a list of all set options. For
Infusion.options(name), a list of length one containing the set value,
NULL if it is unset. For uses setting one or more options,
a list with the previous values of the options changed (returned
Mixmod Team (2016). Mixmod Statistical Documentation. Université de Franche-Comté, Besançon, France. Version: February 10, 2016 retrieved from http://www.mixmod.org.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.