[Rd] S4: Documenting several fields at once

From: Christophe Genolini <cgenolin_at_u-paris10.fr>
Date: Mon, 22 Mar 2010 19:16:45 +0100


Hi all,
I defined an S4 object in which there is a lot of fields that have very similar names and purposes.
--- 8< ----------

setClass(

   Class="foo",
   representation=representation(

      c2="list",
      c3="list",
      c4="list",
      c5="list",
      c6="list",
      c7="list",
        ...
      c26="list"

  )
)
--- 8< ----------

In the documentation (Rd file), is there a way to describe only one of the field, then say all the other work the same way?

Thanks

Christophe



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 22 Mar 2010 - 18:20:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 22 Mar 2010 - 22:11:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive