Skip to content

Commit f776504

Browse files
committed
ESCP, ESCB, ESCBshift added in the vignettes
1 parent 246ed21 commit f776504

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vignettes/microclustr.Rmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ Samples for the DP, PY, and ESCNB models can be similarly obtained as follows:
115115
posteriorDP <- SampleCluster(simulatedData, "DP", 5, 10)
116116
posteriorPY <- SampleCluster(simulatedData, "PY", 5, 10)
117117
posteriorESCNB <- SampleCluster(simulatedData, "ESCNB", 5, 10)
118+
## added by Changwoo: ESCP, ESCB, and ESCBshift
119+
# Poisson
120+
posteriorESCP <- SampleCluster(simulatedData, "ESCP", 5, 10)
121+
# (zero-truncated) Binomial with fixed Nbinom
122+
posteriorESCB <- SampleCluster(simulatedData, "ESCB", 5, 10, Nbinom = 10)
123+
posteriorESCBshift <- SampleCluster(simulatedData, "ESCBshift", 5, 10, Nbinom = 10)
118124
```
119125

120126
## Evaluation Metrics

0 commit comments

Comments
 (0)