| config_ATC | R Documentation | 
Adjust parameters for default ATC method
config_ATC(cor_fun = stats::cor, min_cor = 0, power = 1, k_neighbours = -1, group = NULL, cores = 1, ...)
cor_fun | 
 A function that calculates correlations from a matrix (on matrix rows).  | 
min_cor | 
 Cutoff for the minimal absolute correlation.  | 
power | 
 Power on the correlation values.  | 
k_neighbours | 
 Number of the closest neighbours to use.  | 
group | 
 A categorical variable.  | 
cores | 
 Number of cores.  | 
... | 
 Other arguments passed to   | 
This function changes the default parameters for ATC method. All the arguments in this function all pass to ATC.
# use Spearman correlation
config_ATC(cor_fun = function(m) stats::cor(m, method = "spearman"))
# use knn
config_ATC(k_neighbours = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.