Skip to content

Commit

Permalink
whole lot of changes
Browse files Browse the repository at this point in the history
- added tests for everything
- added cor_fast
- updated kt_fast
  • Loading branch information
rmflight committed Jul 18, 2024
1 parent d4233a8 commit e38ad63
Show file tree
Hide file tree
Showing 50 changed files with 982 additions and 262 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ICIKendallTau
Title: Calculates information-content-informed Kendall-tau
Version: 1.1.7
Version: 1.2.0
Authors@R: c(
person(
given = c("Robert", "M"),
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export(add_uniform_noise)
export(calculate_matrix_medians)
export(cor_fast)
export(cor_matrix_2_long_df)
export(disable_logging)
export(enable_logging)
Expand All @@ -16,4 +17,5 @@ export(rank_order_data)
export(show_progress)
export(test_left_censorship)
importFrom(Rcpp,sourceCpp)
importFrom(stats,median)
useDynLib(ICIKendallTau)
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# ICIKendallTau 1.2.0

- Refactored much of `ici_kendalltau`, making the code more consistent and easier to extend, as well as providing more informative error messages. Thanks to @njtierney for suggestions.
- Also refactored `kt_fast` to be more consistent and use more functions internally. **Note**: now returns matrix or data.frame regardless of whether passing simply two vectors or a matrix input.
- Added `alternative` and `continuity` arguments to both `ici_kendalltau` and `kt_fast`.
- Added `cor_fast` to allow running many iterations of `cor.test` on large matrix inputs if desired, with parallel processing to speed things up.

# ICIKendallTau 1.1.3

- makes `rank_order_data` take a sample class argument to enable splitting out by class.
Expand Down
Loading

0 comments on commit e38ad63

Please sign in to comment.