Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Sep 11, 2023
1 parent 444fe63 commit 9829d15
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions R/meta_analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ meta_analysis <- function(data,
...) {
type <- stats_type_switch(type)

# nolint start: line_length_linter, keyword_quote_linter.
# nolint start: line_length_linter.
c(.ns, .fn, .f.args) %<-% switch(type,
"parametric" = list("metafor", "rma", list(yi = quote(estimate), sei = quote(std.error), ...)),
"robust" = list("metaplus", "metaplus", list(yi = quote(estimate), sei = quote(std.error), random = random, ...)),
"bayes" = list("metaBMA", "meta_random", list(y = quote(estimate), SE = quote(std.error), ...))
parametric = list("metafor", "rma", list(yi = quote(estimate), sei = quote(std.error), ...)),
robust = list("metaplus", "metaplus", list(yi = quote(estimate), sei = quote(std.error), random = random, ...)),
bayes = list("metaBMA", "meta_random", list(y = quote(estimate), SE = quote(std.error), ...))
)
# nolint end

Expand Down
10 changes: 5 additions & 5 deletions R/two_sample_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ two_sample_test <- function(data,
# expression ---------------------------------------

add_expression_col(
data = stats_df,
paired = paired,
n = ifelse(paired, length(unique(data$.rowid)), nrow(data)),
k = k,
k.df = k.df
data = stats_df,
paired = paired,
n = ifelse(paired, length(unique(data$.rowid)), nrow(data)),
k = k,
k.df = k.df
)
}

0 comments on commit 9829d15

Please sign in to comment.