powered by
Function to model mcp selection process on a given dataframe
a dataframe containing an outcome variable to be permuted (usually coming from nested bootstrap data)
the outcome as a string (i.e. "y")
model type, either "linear" or "logistic"