Description Usage Arguments Value
from a DataFrame
object, generate correlation of the non-zero entries
1 2 | correlate_non_zero(data, data_columns, log_transform = TRUE,
non_zero = "either", test = TRUE)
|
data |
the data we are working with |
data_columns |
which columns to use |
log_transform |
do a log transformation on the data before calculating the correlation |
non_zero |
"either" or "both" values need to be non-zero |
test |
also return a p-value of the correlation? |
numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.