R/screen.template.R

# screening template
All <- function(...) {
	return(TRUE)
}

# screen functions must return a logical vector of length ncol(X)
screen.template <-function (Y.temp, X.temp, family, obsWeights, id, ...) 
{
    if (family$family == "gaussian") {
	
    }
    if (family$family == "binomial") {
	
    }
	whichVariable <- rep(TRUE, ncol(X.temp))
    return(whichVariable)
}
ecpolley/SuperLearner_Old documentation built on May 15, 2019, 10:08 p.m.