dataRd | R Documentation |
Facilitate the constructing of files documenting R data.frames.
dataRd(obj, file = NULL, obname = deparse(substitute(obj)), format = c("roxygen", "man"))
obj |
the name of the dataset to document. |
file |
the output filename. |
obname |
a character string giving the name of the object. |
format |
a character string specifying the format of the output; "roxygen" generates a file that is an R script with a roxygen header and should be placed in the R folder and "man" generates a file that is an Rd file and should be placed in the man folder. |
When dataRd
is used within a loop, use of obname
facilitates using character strings for objects.
The object name, from obname
.
The prototype file must be edited to include descriptions of the columns and complete the source and example.
prompt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.