find.binary.prob: Collapses the ordinal categories to binary ones

Description Usage Arguments Value See Also Examples

View source: R/find.binary.prob.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
9
## 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)
 

MultiOrd documentation built on March 6, 2021, 1:08 a.m.