Function commenting conventions in R

后端 未结 3 1374
不知归路
不知归路 2020-12-14 08:03

I\'m fairly new to R, and I have been defining some of my own functions in script files. I\'m intending for others to re-use them later, and I can\'t find any guides on R fu

3条回答
  •  无人及你
    2020-12-14 08:35

    You will have to put functions into a package (which makes porting function REALLY easy). I have written a short post about it a while ago with links (I hope they still work) to some relevant documents that expand the subject.

    You can generate help files "on the fly" using roxygen, inlinedocs.

提交回复
热议问题