Returns information about the transformation and selected diagnostics to check model assumptions.
diagnostics(object, ...)
an object that contains two models that should be compared.
other parameters that can be passed to the function.
The return depends on the class of its argument. The documentation of particular methods gives detailed information about the return of that method.