Description Usage Arguments Examples
Create HTML format data. Useful with datable_enr function.
1 2 | get_html_data(data, column = NULL, direction = "col",
formatter = "simple_formatter")
|
data |
dataset you want to implement in DT::datatable. |
column |
columns which will be format by 'formatter' argument. Those columns will be centered. |
direction |
the direction in which cells will be coloured. Possible opitons: 'area', 'col' and 'row'. Default value: 'col'. |
formatter |
method of color choosen columns' cells. Default value: 'custom_formatter'. |
1 2 3 4 5 | ## Not run:
example_dt <- get_html_data(mtcars, column = 4:6, direction = 'area')
datatable_enr(example_dt, tooltip = "This is a description.")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.