Description Usage Arguments Value Note
convenience function for knitr chunks
1 | chart_data(.data, warnOnError = FALSE)
|
.data |
A data frame suitable for |
warnOnError |
The function is designed not to error (to preserve portability). If the function is required to work, setting to |
If knitting, writes a csv of its named as the current chunk label. Otherwise, returns .data
invisibly.
Use this in a knitr chunk that produces a chart to get the chart data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.