R/MIwaldtest_qhat2list.R

Defines functions MIwaldtest_qhat2list

## File Name: MIwaldtest_qhat2list.R
## File Version: 0.02



# convert qhat into a list
MIwaldtest_qhat2list <- function( qhat )
{
    qhat0 <- qhat
    dq <- dim(qhat)
    NB <- dq[1]
    NV <- dq[2]
    qhat <- as.list(1:NB)
    for (bb in 1:NB){
        qhat[[bb]] <- qhat0[ bb, ]
    }
    return(qhat)
}

Try the miceadds package in your browser

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

miceadds documentation built on May 29, 2024, 11:05 a.m.