cor_helpers: Render correlation table

kable_corsR Documentation

Render correlation table

Description

Render correlation table either as 'mlth.data.frame' or as 'kable' table.

Usage

kable_cors(x, y = x, type = c("pearson", "spearman"))

mlth_cors(x, y = x, type = c("pearson", "spearman"))

Arguments

x, y

are tables ('matrix', 'data.frame').

type

is type of correlation: Pearson or Spearman.

Details

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–>'


IvanVoronin/mlth.data.frame documentation built on Jan. 31, 2024, 10:13 a.m.