added manual, clean up examples
edit rdoc
dded rdoc