[R] How to document an S3 class?

Witold E Wolski wewolski at gmail.com
Mon Jun 30 10:38:38 CEST 2014


How do I document an S3 class with roxygen2?

I create the class at the end of the method with:
class(res) <- "myclass"

but how do I create an documentation entry for this class, where I can
describe the fields of the class (in case of myclass these are just
list entries)?


Witold Eryk Wolski

More information about the R-help mailing list