Skip to content

Commit

Permalink
fix asterisk issue in formula of linda in trans_diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiLiubio committed Feb 22, 2025
1 parent cdb97af commit 5fc77e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/trans_diff.R
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ trans_diff <- R6Class(classname = "trans_diff",
group %<>% gsub("^~", "", .)
# different cases
output <- data.frame()
if(grepl("+", group, fixed = TRUE)){
if(grepl("+", group, fixed = TRUE) | grepl("*", group, fixed = TRUE)){
# multi-factor
for(i in names(res$output)){
tmp <- res$output[[i]]
Expand Down

0 comments on commit 5fc77e1

Please sign in to comment.