Thank you, Kevin.
As I just found, the preparation of an appendix with all the code is described 
in the RMarkdown Cookbook 
https://bookdown.org/yihui/rmarkdown-cookbook/code-appendix.html.
One way to think about it could be that commenting function definition cares 
about the HOW while commenting their execution is rather about the WHY.

Best

Johannes


Dr. Johannes Hüsing
Epidemiologie

Landeskrebsregister NRW gGmbH
Gesundheitscampus 10
44801 Bochum



T 0234 54509-216
F 0234 54509-499
johannes.hues...@krebsregister.nrw.de<mailto:johannes.hues...@krebsregister.nrw.de>
www.landeskrebsregister.nrw<http://www.landeskrebsregister.nrw>

Das Landeskrebsregister NRW online
FACEBOOK: https://www.facebook.com/LKRNordrheinWestfalen/
INSTAGRAM: https://www.instagram.com/landeskrebsregister_nrw
LINKEDIN: https://www.linkedin.com/company/87452209/admin/feed/posts/

Newsletter LKR NRW - jetzt anmelden unter
 https://www.landeskrebsregister.nrw/aktuelles/newsletter




Geschäftsführer
Dr. Andres Schützendübel
Vorsitzender der Gesellschafterversammlung
Staatssekretär Matthias Heidmeier
Sitz der Gesellschaft
Bochum
Registergericht
Amtsgericht Bochum
HRB 17715

HINWEIS: Diese Nachricht ist nur für den Adressaten bestimmt. Es ist nicht 
erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten 
Sie irrtümlich diese Nachricht erhalten haben, bitte ich um Ihre Mitteilung per 
E-Mail oder unter der oben angegebenen Telefonnummer.
Von: Kevin Coombes <kevin.r.coom...@gmail.com>
…

The other option is to "hide" the display of the function, in a named chunk, at 
the point of definition. Then add an appendix where you can refer to the named 
chunk to display the function body, after which you can go into as much 
detailed documentation as you desire.

        [[alternative HTML version deleted]]

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Reply via email to