Learn R Programming

MCCM (version 0.1.0)

est_thre: Thresholds Estimation

Description

Function to calculate thresholds from ordinal variables.

Usage

est_thre(X)

Value

the estimated value for thresholds.

Arguments

X

a ordinal series.

Examples

Run this code
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])

Run the code above in your browser using DataLab