R/tileWhatIf.R

Defines functions tileWhatIf

Documented in tileWhatIf

tileWhatIf <- function(extrapolate) {
    require(WhatIf)
    print("Running whatif")
    wi <- whatif(formula=extrapolate$formula, data=extrapolate$data, cfact=extrapolate$cfact, mc.cores=1)
    print("Whatif finished; returning to tile")
    extrapolate$control <- !wi$in.hull
    extrapolate
}
chrisadolph/tileForShiny documentation built on Feb. 6, 2022, 12:34 a.m.