Skip to contents

The PFS structure correlation with a Mantel permutation p-value instead of the naive t test

Usage

structure_test(
  survey,
  model,
  method = "spearman",
  permutations = 999L,
  alternative = "greater",
  seed = 0,
  threads = NULL
)

Arguments

survey, model

Cells of the survey and of the model.

method

"spearman", "pearson" or "kendall".

permutations

Number of permutations.

alternative

"greater", "less" or "two-sided".

seed

Random seed.

threads

Worker threads, or NULL.

Value

A list as structure_mantel() returns.