adamant: Adaptive Mantel test for linear association.

Description Usage Arguments Value Examples

Description

adamant Returns a dataframe containing results of the adaptive Mantel test for linear association between two sets of variables.

Usage

1
2
adamant(X, Y, lambdas_X = c(0), n_perms = 100, verbose = TRUE,
  P_val_only = FALSE)

Arguments

X

A matrix of covariates.

Y

A vector of response values.

Value

An object of class 'adamant' that contains the test results.

Examples

1
2
3
4
5
6
7
## Not run: 
X <- matrix(rnorm(100), nrow = 20, ncol = 5)
Y <- rnorm(20)
lambdas_X <- c(0, 1, 1000, Inf)
adamant(X, Y, lambdas_X)

## End(Not run)

dspluta/adamant documentation built on May 28, 2019, 7:55 p.m.