Generic function to convert object to a fragment of Rd code.
Methods for this function render their associated classes as a fragment of Rd code, which can then be rendered into text, HTML, or LaTeX.
toRd(obj, ...) "toRd"(obj, style = NULL, ...)
- The object to be rendered.
The style to be used in converting a
- Additional arguments used by methods.
bibstyle for a discussion of styles. The default
style = NULL value
gives the default style.
Returns a character vector containing a fragment of Rd code that could
be parsed and rendered. The default method converts
character, then escapes any Rd markup within it. The
bibentrymethod converts an object of that class to markup appropriate for use in a bibliography.
Looks like there are no examples yet.