comet | R Documentation |
Covariance measure tests with formula interface
comet(formula, data, test = c("gcm", "pcm", "wgcm"), ...)
comets(formula, data, test = c("gcm", "pcm", "wgcm"), ...)
formula |
Formula of the form |
data |
Data.frame containing the variables in |
test |
Character string; |
... |
Additional arguments passed to |
Formula-based interface for the generalised and projected covariance measure tests.
Object of class "gcm"
, "wgcm"
or "pcm"
and
"htest"
. See gcm
and pcm
for details.
Kook, L. & Lundborg A. R. (2024). Algorithm-agnostic significance testing in supervised learning with multimodal data. Briefings in Bioinformatics, 25(6), 2024. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bib/bbae475")}
tn <- 1e2
df <- data.frame(y = rnorm(tn), x1 = rnorm(tn), x2 = rnorm(tn), z = rnorm(tn))
comet(y ~ x1 + x2 | z, data = df, test = "gcm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.