Skip to content

Commit

Permalink
explicit export of correlation method
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Mar 13, 2024
1 parent c890128 commit 350e365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ exportClasses(VariableMetadataList)
exportClasses(VariableSpec)
exportClasses(VariableSpecList)
exportMethods(as.numeric)
exportMethods(correlation)
exportMethods(findAllColNames)
exportMethods(findColNamesByPredicate)
exportMethods(findColNamesFromPlotRef)
Expand Down
1 change: 1 addition & 0 deletions R/method-correlation.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ setGeneric("correlation",
#' @param verbose boolean indicating if timed logging is desired
#' @importFrom Hmisc rcorr
#' @return data.frame with correlation coefficients
#' @export
setMethod("correlation", signature("data.table", "data.table"),
function(data1, data2, method = c('spearman','pearson'), format = c('ComputeResult', 'data.table'), verbose = c(TRUE, FALSE)) {

Expand Down

0 comments on commit 350e365

Please sign in to comment.