R/makepredictcall.ibs.R

makepredictcall.ibs <-
function (var, call) {
    if (as.character(call)[1L] != "ibs") 
        return(call)
    at <- attributes(var)[c("knots", "Boundary.knots", "intercept", "from", "weight.fun")]
    xxx <- call[1L:2L]
    xxx[names(at)] <- at
    xxx
}
drizopoulos/JMbayes documentation built on Feb. 2, 2021, 12:34 a.m.