Skip to content

Commit

Permalink
Do not translate italic
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Dec 11, 2024
1 parent 6740651 commit 3c3803f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/correlation.R
Original file line number Diff line number Diff line change
Expand Up @@ -1593,11 +1593,11 @@ CorrelationInternal <- function(jaspResults, dataset, options){

.corValueString <- function(corValue = NULL, testType = NULL, decimals = 3){
if (testType == "pearson")
type <- gettext("italic(r)")
type <- "italic(r)"
else if (testType == "spearman")
type <- gettext("italic(rho)")
type <- "italic(rho)"
else #kendall
type <- gettext("italic(tau)")
type <- "italic(tau)"

formattedValue <- formatC(round(corValue, decimals), format = "f", digits = decimals)

Expand Down

0 comments on commit 3c3803f

Please sign in to comment.