R/mixmodMap_M2V.R

Defines functions mixmodMap_M2V

Documented in mixmodMap_M2V

mixmodMap_M2V <-
function(M, n = nrow(M), K = ncol(M))
{
	z = apply(M, 1, function(x) which(as.logical(x)))
	z
}

Try the RmixmodCombi package in your browser

Any scripts or data that you put into this service are public.

RmixmodCombi documentation built on May 30, 2017, 4:33 a.m.