find.binary.prob {MultiOrd}R Documentation

Collapses the ordinal categories to binary ones

Description

Collapses the ordinal categories to binary ones and counts the number of categories in each variable.

Usage

find.binary.prob(ordPmat)

Arguments

ordPmat

Input matrix of ordinal marginal probabilities.

Value

p

Vector of binary probabilities

Mlocation

Vector of points where ordinal variables will be dichotomized

See Also

validation.ordPmat

Examples

## Not run: 
ordPmat1 = matrix( c(0.15,0.70,0.40,
					0.55,0.10,0.25,
					0.25,0.10,0.15,
					0.05,0.10,0.20),4,3,byrow=TRUE)
find.binary.prob(ordPmat1)

## End(Not run)
 

[Package MultiOrd version 2.4.3 Index]