extractSTA function

Extract statistics from fitted models