mix_dist_maker | R Documentation |
generate mixture distribution of same family
mix_dist_maker( dist = tfd_normal, nr_comps = 3, trafos_each_param = list(function(x) x, function(x) 1e-08 + tfe(x)) )
dist |
tfp distribution |
nr_comps |
number of mixture components |
trafos_each_param |
list of transformaiton applied before plugging
the linear predictor into the parameters of the distributions.
Should be of length #parameters of |
returns function than can be used as argument dist\_fun
for
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.