comet: Covariance measure tests with formula interface
Description
Covariance measure tests with formula interface
Usage
comet(formula, data, test = c("gcm", "pcm", "wgcm"), ...)
comets(formula, data, test = c("gcm", "pcm", "wgcm"), ...)
Value
Object of class "gcm", "wgcm" or "pcm" and
"htest". See gcm and pcm for details.
Arguments
formula
Formula of the form Y ~ X | Z for testing Y independent
of X given Z.
data
Data.frame containing the variables in formula.
test
Character string; "gcm", "pcm", or "wgcm".
...
Additional arguments passed to test.
Details
Formula-based interface for the generalised and projected covariance measure
tests.
References
Kook, L. & Lundborg A. R. (2024). Algorithm-agnostic significance testing in
supervised learning with multimodal data. Briefings in Bioinformatics,
25(6), 2024. tools:::Rd_expr_doi("10.1093/bib/bbae475")