This convenience function returns the fitting history for a model.

getHistory(model)

Arguments

model

the model object from which you want to extract the history.

Value

the fitting history for a model.