This function trains the MIMoSA model from a data.frame produced by an element from the output of the function mimosa_data.

mimosa_fit(training_dataframe, formula)

Arguments

training_dataframe

data.frame(s) produced by the mimosa_data function

formula

formula to be fit by glm model

Value

Returns a glm object containing the trained MIMoSA coefficients.