Skip to content

Instantly share code, notes, and snippets.

@daskelly
Created August 19, 2022 12:46
Show Gist options
  • Save daskelly/9393bb2353fed1d10e935ca308d0717c to your computer and use it in GitHub Desktop.
Save daskelly/9393bb2353fed1d10e935ca308d0717c to your computer and use it in GitHub Desktop.
put an interactive sortable table into Rmarkdown HTML output
library(DT)
#
# make a table of results
# ...
#
datatable(signif_results, filter = 'top', rownames = FALSE,
options=list(pageLength = 10, autoWidth = TRUE))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment