R/simuler.spodt.R

simuler.spodt <-
function(d.sim, data, vqt, vql, weight, graft,
           level.max, min.parent, min.child, rtwo.min)
{
    data$z <- d.sim
    
    spodt.sim <- sp1(data, vqt, vql,
                       weight, graft,
                       level.max, min.parent, min.child, rtwo.min)

    return(spodt.sim@R2)
}

Try the SPODT package in your browser

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

SPODT documentation built on May 2, 2019, 9:43 a.m.