-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Authors@R: | |
person(given = "Catherine", family = "Hurley", email = "[email protected]", role = c("aut", "cre"))) | ||
Description: We provide a tidy data structure and visualisations for multiple or grouped variable correlations, | ||
general association measures scagnostics and other pairwise scores suitable for numerical, ordinal and nominal variables. | ||
Supported measures include distance correlation, maximal information, ace correlation, Kendall's tau, and polychoric corrrelation. | ||
Supported measures include distance correlation, maximal information, ace correlation, Kendall's tau, and polychoric correlation. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
|
||
test_that("pair scagnostics", { | ||
if (requireNamespace("scagnostics", quietly = TRUE)){ | ||
p <- pair_scagnostics(iris[c(1,2,53,55),], c("Clumpy", "Striated")) | ||
expect_s3_class(p, "pairwise") | ||
expect_identical(dim(p), c(12L,6L)) | ||
} | ||
skip_if_not(requireNamespace("scagnostics", quietly = TRUE), message = "Package scagnostics not available.") | ||
p <- pair_scagnostics(iris[c(1,2,53,55),], c("Clumpy", "Striated")) | ||
expect_s3_class(p, "pairwise") | ||
expect_identical(dim(p), c(12L,6L)) | ||
}) |