est_thre {MCCM} | R Documentation |
Thresholds Estimation
Description
Function to calculate thresholds from ordinal variables.
Usage
est_thre(X)
Arguments
X |
a ordinal series. |
Value
the estimated value for thresholds.
Examples
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])
[Package MCCM version 0.1.0 Index]