Description Usage Arguments Methods (by generic) Slots
hdpState class for a Hierarchical Dirichlet Process in one state
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | ## S4 method for signature 'hdpState'
as.list(x, ...)
## S4 method for signature 'hdpState'
numdp(x, ...)
## S4 method for signature 'hdpState'
numconparam(x, ...)
## S4 method for signature 'hdpState'
base(x, ...)
## S4 method for signature 'hdpState'
conparam(x, ...)
## S4 method for signature 'hdpState'
dp(x, ...)
## S4 method for signature 'hdpState'
dpstate(x, ...)
## S4 method for signature 'hdpState'
ppindex(x, ...)
## S4 method for signature 'hdpState'
cpindex(x, ...)
## S4 method for signature 'hdpState'
numcateg(x, ...)
## S4 method for signature 'hdpState'
base_params(x, ...)
## S4 method for signature 'hdpState'
activating_seed(x, ...)
## S4 method for signature 'hdpState'
pseudoDP(x, ...)
|
x |
Object of class hdpState |
... |
unused |
as.list: Convert to list class
numdp: Get number of DPs
numconparam: Get number of concentration parameters
base: Get base distribution
conparam: Get list of concentration parameters
dp: Get list of DP nodes
dpstate: Get state of every DP
ppindex: Get parent process index of every DP
cpindex: Get concentration parameter index of every DP
numcateg: Get number of data categories
base_params: Get parameters of the base Dirichlet distribution (like psuedocounts across categories).
activating_seed: Get seed used to initialse clustering
pseudoDP: Get index of frozen pseudo-data DP nodes for prior info
(only if initialised via hdp_prior_init)
numdpnumber of DP nodes in the hierarchical Dirichlet Process
numconparamnumber of concentration parameters
basebase distribution (hdpBase object)
conparamconcentration parameters (list of hdpConparam objects)
dpDP nodes (list of hdpDP objects)
dpstatestate of DP nodes for posterior sampling process: active (2), frozen (1), or heldout (0)
ppindexparent node index for each DP
cpindexconcentration parameter index for each DP
ttindexDP index of those sharing a concentration parameter
initccnumber of initial clusters
seed_activaterandom seed used to initiate cluster membership
pseudoDP(Optional) index of pseudodata nodes (only if initialised via hdp_prior_init)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.