est_thre {MCCM} | R Documentation |
Function to calculate thresholds from ordinal variables.
est_thre(X)
X |
a ordinal series. |
the estimated value for thresholds.
library(mvtnorm)
set.seed(1997)
R1 = gen_CCM(4)
n = 1000
indc = 3:4
thresholds = list(c(),c(),c(-1),c(1))
data1 = gen_mixed(n,R1,indc,thresholds=thresholds)$observed
est_thre(data1[,3])
est_thre(data1[,4])