kkk: Sequence of combinatorial coefficients

Description Usage Arguments

View source: R/kkk.R

Description

Compute the sequence of binomial coefficients {m-1}\choose{r-1}, for r= 1, …, m, and then returns a vector of the same length as ordinal, whose i-th component is the corresponding binomial coefficient {m-1}\choose{r_i-1}

Usage

1
kkk(m, ordinal)

Arguments

m

Number of ordinal categories

Vector

of ordinal responses


CUB documentation built on March 31, 2020, 5:14 p.m.