R/poLCA.probHat.C.R

Defines functions poLCA.probHat.C

#' \deprecated
#' @noRd
poLCA.probHat.C <-
function(rgivy,y,vp) {
    ret <-  .C("probhat",
                as.integer(t(y)),
                as.double(t(rgivy)),
                as.integer(length(vp$numChoices)),
                as.integer(dim(y)[1]),
                as.integer(vp$numChoices),
                as.integer(vp$classes),
                ph = double(sum(vp$numChoices)*vp$classes)
            )
    return(ret$ph)
}

Try the poLCAParallel package in your browser

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

poLCAParallel documentation built on Feb. 20, 2026, 1:09 a.m.