Description Usage Arguments Value Examples
View source: R/correlation_functions.R
Display corelation result generate with getCorrelationCoeficient() as kableExtra object
1 | addCorrelationKable(data_frame)
|
data_frame |
a data.frame, corelation result generate with getCorrelationCoeficient() |
an html data table to display
1 2 3 4 | data(mtcars)
cor <- getCorrelationCoeficient(data = mtcars, var1 = 'mpg', var2 = colnames(mtcars)[sapply(mtcars, is.numeric)])
cor <- do.call('rbind', cor)
addCorrelationKable(cor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.