Description Usage Arguments Value See Also Examples
View source: R/hdp_extract_components.R
If prior components included via hdp_prior_init
are
preserved by hdp_extract_components
, they are prefixed with "P".
Any new components in this case are prefixed with "N".
1 | hdp_extract_components(x, cos.merge = 0.9, min.sample = 1)
|
x |
hdpSampleChain or hdpSampleMulti object |
cos.merge |
Merge components with cosine similarity above this threshold (default 0.90) |
min.sample |
Components must have significant exposure in at least this many samples (i.e. those DP nodes with data assigned) (default 1) |
A hdpSampleChain or hdpSampleMulti object updated with component information
hdp_posterior
, hdp_multi_chain
,
plot_comp_size
, plot_comp_distn
,
plot_dp_comp_exposure
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.