-
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.
deprecated certain syntax for
cor
method. Re-arranged package (#53)
- Loading branch information
Showing
15 changed files
with
325 additions
and
217 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
function Statistics.cor(x::AbstractVecOrMat, y::AbstractVecOrMat, cortype::CorType) | ||
@warn "The syntax 'cor(x, y, cortype)' is now deprecated. Please use 'cor(cortype, x, y)' instead." maxlog=1 | ||
return cor(cortype, x, y) | ||
end | ||
|
||
function Statistics.cor(x::AbstractVecOrMat, cortype::CorType) | ||
@warn "The syntax 'cor(x, cortype)' is now deprecated. Please use 'cor(cortype, x)' instead." maxlog=1 | ||
return cor(cortype, x) | ||
end | ||
|
||
function cor_fast(X::AbstractMatrix, cortype::CorType=Pearson) | ||
@warn "The syntax 'cor_fast(X, cortype)' is now deprecated. Please use 'cor_fast(cortype, X)' instead." maxlog=1 | ||
return cor_fast(cortype, X) | ||
end |
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
Oops, something went wrong.