Skip to content

Commit

Permalink
lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 15, 2024
1 parent 731a392 commit b9a8e8a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions R/plot.parameters_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -595,28 +595,28 @@ plot.see_parameters_model <- function(x,

.meta_measure <- function(meta_measure) {
switch(meta_measure,
"MD" = "Raw Mean Difference",
"SMDH" = ,
"SMD" = "Standardized Mean Difference",
"ROM" = "Log transformed Ratio of Means",
"D2ORL" = ,
"D2ORN" = "Transformed Standardized Mean Difference",
"UCOR" = ,
"COR" = "Raw Correlation Coefficient",
"ZCOR" = "Z transformed Correlation Coefficient",
"PHI" = "Phi Coefficient",
"RR" = "Log Risk Ratio",
"OR" = "Log Odds Ratio",
"RD" = "Risk Difference",
"AS" = "Root transformed Risk Difference",
"PETO" = "Peto's Log Odds Ratio",
"PBIT" = "Standardized Mean Difference (Probit-transformed)",
"OR2DL" = ,
"OR2DN" = "Standardized Mean Difference (Odds Ratio-transformed)",
"IRR" = "Log Incidence Rate Ratio",
"IRD" = "Incidence Rate Difference",
"IRSD" = "Square Root transformed Incidence Rate Difference",
"GEN" = "Generic Estimate",
MD = "Raw Mean Difference",

Check warning on line 598 in R/plot.parameters_model.R

View check run for this annotation

Codecov / codecov/patch

R/plot.parameters_model.R#L598

Added line #L598 was not covered by tests
SMDH = ,
SMD = "Standardized Mean Difference",
ROM = "Log transformed Ratio of Means",

Check warning on line 601 in R/plot.parameters_model.R

View check run for this annotation

Codecov / codecov/patch

R/plot.parameters_model.R#L600-L601

Added lines #L600 - L601 were not covered by tests
D2ORL = ,
D2ORN = "Transformed Standardized Mean Difference",

Check warning on line 603 in R/plot.parameters_model.R

View check run for this annotation

Codecov / codecov/patch

R/plot.parameters_model.R#L603

Added line #L603 was not covered by tests
UCOR = ,
COR = "Raw Correlation Coefficient",
ZCOR = "Z transformed Correlation Coefficient",
PHI = "Phi Coefficient",
RR = "Log Risk Ratio",
OR = "Log Odds Ratio",
RD = "Risk Difference",
AS = "Root transformed Risk Difference",
PETO = "Peto's Log Odds Ratio",
PBIT = "Standardized Mean Difference (Probit-transformed)",

Check warning on line 613 in R/plot.parameters_model.R

View check run for this annotation

Codecov / codecov/patch

R/plot.parameters_model.R#L605-L613

Added lines #L605 - L613 were not covered by tests
OR2DL = ,
OR2DN = "Standardized Mean Difference (Odds Ratio-transformed)",
IRR = "Log Incidence Rate Ratio",
IRD = "Incidence Rate Difference",
IRSD = "Square Root transformed Incidence Rate Difference",
GEN = "Generic Estimate",

Check warning on line 619 in R/plot.parameters_model.R

View check run for this annotation

Codecov / codecov/patch

R/plot.parameters_model.R#L615-L619

Added lines #L615 - L619 were not covered by tests
"Estimate"
)
}

0 comments on commit b9a8e8a

Please sign in to comment.