R/poLCA.reorder.R

Defines functions poLCA.reorder

Documented in poLCA.reorder

poLCA.reorder <-
function(probs,o.new) {
    J <- length(probs)
    for (j in 1:J) probs[[j]] <- probs[[j]][o.new,]
    return(probs)
}

Try the poLCA package in your browser

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

poLCA documentation built on April 25, 2022, 5:06 p.m.