kable_cors | R Documentation |
Render correlation table either as 'mlth.data.frame' or as 'kable' table.
kable_cors(x, y = x, type = c("pearson", "spearman"))
mlth_cors(x, y = x, type = c("pearson", "spearman"))
x, y |
are tables ('matrix', 'data.frame'). |
type |
is type of correlation: Pearson or Spearman. |
When using 'kable_cors', include the following html-code to turn on popovers: '<!–html_preserve–>' '<script>' '$(document).ready(function()' ‘ $(’[data-toggle="popover"]').popover();' ');' '</script>' '<!–/html_preserve–>'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.