R/mgsem_partable2coef.R

Defines functions mgsem_partable2coef

## File Name: mgsem_partable2coef.R
## File Version: 0.05

mgsem_partable2coef <- function(partable)
{
    dfr <- partable
    ind <- which(dfr$unique==1)
    coef <- dfr[ ind,'est']
    names(coef) <- dfr[ind,'name']
    return(coef)
}

Try the sirt package in your browser

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

sirt documentation built on Aug. 11, 2023, 5:07 p.m.