R/mice.impute.copulaSS.R

Defines functions mice.impute.copulaSS

Documented in mice.impute.copulaSS

mice.impute.copulaSS <- function(y, ry, x, mice.formula, margins, BivD, ...) {

x <- as.data.frame(x) 

x[, "ry"] <- ry
x[, "y"]  <- y

out <- gjrm(mice.formula, data = x, Model = "BSS", margins = margins, BivD = BivD)
return(imputeSS(out, 1)[[1]])

}



  
KironmoyDas/KD-STAT0035-GMupdate documentation built on Feb. 15, 2021, 12:17 a.m.