Skip to content

Commit

Permalink
Add options for correlation calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
SONGDONGYUAN1994 committed Nov 7, 2024
1 parent a83a744 commit 6ae10a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fit_copula.R
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ cal_cor <- function(norm.mat,
operator = 'hard',
corr = TRUE)
} else {
important_cor.mat <- correlation(important.mat)
important_cor.mat <- correlation(important.mat, correlation_function = correlation_fucntion)
}

#s_d <- apply(norm.mat, 2, stats::sd)
Expand Down

0 comments on commit 6ae10a5

Please sign in to comment.