. <code><a href="reference/prediction.html">prediction()</a></code> is an S3 generic, which always return a <code>"data.frame"</code> class object rather than the mix of vectors, lists, etc. that are returned by the <code><a href="https://www.rdocumentation.org/packages/stats/topics/predict">predict()</a></code> methods for various model types. It provides a key piece of underlying infrastructure for the <strong>margins</strong> package. Users interested in generating marginal (partial) effects, like those 