View source: R/calc-correlation.R
calc_correlation | R Documentation |
Perform a correlation analysis on an 'id' for a 'dataset'. By default, the correlation will be against the same dataset, but a different dataset can be specified with 'dataset_correlate'.
calc_correlation(
dataset,
id,
dataset_correlate = NULL,
intcovar = NULL,
use_qr = TRUE,
backfill_NA = TRUE
)
dataset |
The dataset object |
id |
The unique id in the dataset. |
dataset_correlate |
The dataset to correlate against, dataset if INVALID or NULL. |
intcovar |
The interactive covariate. |
use_qr |
'TRUE' to use qr decomposition. |
backfill_NA |
'TRUE' if we need to impute, we backfill the NAs. |
A 'tibble' with the correlation and annotations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.