doc_data | R Documentation |
Creates skeleton to document datasets via roxygen2
.
doc_data(
obj,
title = deparse(substitute(obj)),
description = "DATASET_DESCRIPTION",
write_to_file = TRUE,
...
)
obj |
object to document |
title |
Title |
description |
Description |
write_to_file |
Logical |
... |
N/A |
silently returns the doc_string
library(lossrx)
data(losses)
string <- doc_data(losses, "Loss Data", "Claims Data", FALSE)
cat(string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.