R/lenGO.R

Defines functions `lenGO`

`lenGO` <-
function(ncateg = 8, simult = ncateg) {
        ncols <- ncateg
        kcols <- ncols
        for (k in 2:simult) {
                kcols <- kcols * (ncateg - k + 1) / k
                ncols <- ncols + kcols 
        }
        return(ncols)
}

Try the goProfiles package in your browser

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

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.