See some examples in a shiny web application. Both 'am' functions and basic functions are illustrated.
runExamples()
## Not run: if (interactive()) runExamples() ## End(Not run)