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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.