Description Usage Arguments Examples
This function helps preview a widget in the dashboard with or without the header and sidebar.
1 2 3 4 5 | fdPreview(widget, title = deparse(substitute(widget)), wrap = "rowbox", ...,
wrapBox = NULL)
fdPreviewBoard(widget, title = deparse(substitute(widget)), wrap = "rowbox",
..., wrapBox = NULL)
|
widget |
widget to preview |
title |
title to display |
wrap |
string indicating if the widget is to be wrapped in a 'row',
'box', 'rowbox' or 'none'
|
... |
additional elements to pass to |
wrapBox |
boolean indicating if we should set wrap = 'rowbox' |
1 2 3 | library(flightdeck)
fdSimpleTable(mtcars) %>% fdPreview(title = 'Simple Table')
fdSimpleTable(mtcars) %>% fdPreviewBoard(title = 'Simple Table')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.