DistHelper | R Documentation |
Class used by CDFt and QM to facilitate fit, do not use
Used to parallel work for margins
dist
[ROOPSD distribution] name of class
law
[ROOPSD distribution] class set
kwargs
[list] arguments of dist
new()
Create a new DistHelper object.
DistHelper$new(dist, kwargs)
dist
[ROOPSD distribution or list] statistical law
kwargs
[list] arguments passed to dist
A new 'DistHelper' object.
set_features()
set the number of features
DistHelper$set_features(n_features)
n_features
[integer] numbers of features
NULL
fit()
fit the laws
DistHelper$fit(X, i)
X
[matrix] dataset to fit
i
[integer] margins to fit
NULL
is_frozen()
Test if margins i is frozen
DistHelper$is_frozen(i)
i
[integer] margins to fit
[bool]
is_parametric()
Test if margins i is parametric
DistHelper$is_parametric(i)
i
[integer] margins to fit
[bool]
clone()
The objects of this class are cloneable with this method.
DistHelper$clone(deep = FALSE)
deep
Whether to make a deep clone.
##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.