It is not clear what you want to show.
Have a look at the other example. Usually, examples are used to show some particularities of the underlying estimator and re-use in the narrative documentation.