Prints several diagnostics of the simulation to the screen, e.g. number of steps taken, the last step size, ...
diagnostics(obj, ...)
# S3 method for default
diagnostics(obj, ...)
is an output data structure produced by one of the solver routines.
optional arguments allowing to extend diagnostics
    as a generic function.
Detailed information obout the success of a simulation is printed,
  if a diagnostics function exists for a specific solver routine.
  A warning is printed, if no class-specific diagnostics exists.
Please consult the class-specific help page for details.
diagnostics.deSolve for diagnostics of differential
  equaton solvers.