Description Usage Arguments Value Examples
View source: R/bootstrapEMBatMix.R
Bootstrap the Batschelet mixture parameters
1 2 3 4 |
x |
Numeric; A set angles in radians. |
B |
Integer; The number of bootstrap samples. |
parallel |
Logical; Whether to perform bootstraps in parallel. |
verbose |
Logical; Whether to print debug info. |
bat_type |
Either 'inverse' or 'power', the type of distribution to fit. The two distributions are similar, but the power Batschelet distribution is computationally much less demanding. |
n_comp |
Integer; Fixed number of components to estimate. |
init_pmat |
A numeric matrix with |
fixed_pmat |
A numeric matrix with |
ll_tol |
The likelihood tolerance for the EM-algorithm. |
max_its |
The maximum number of E-M iterations for the EM-algorithm. |
optimization_its |
The maximum number of maximization iterations within the EM-algorithm. |
A matrix of sampled bootstrap values.
1 2 3 | x <- rinvbatmix(100)
bootstrapEMBatMix(x, B = 5, parallel = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.