Convert formattable to a DT::datatable() htmlwidget

# S3 method for class 'formattable'
as.datatable(x, escape = FALSE, ...)

Arguments

x

a formattable object to convert

escape

logical to escape HTML. The default is FALSE since it is expected that formatters from formattable will produce HTML tags.

...

additional arguments passed to to DT::datatable()

Value

a DT::datatable() object