Skip to content

Commit

Permalink
fix previous code modification
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed May 9, 2023
1 parent fd84b69 commit e67c505
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.4
Date: 2023-05-08 07:33:11 UTC
SHA: ba6e0838e20c813760255ff4ecce476d1f1a97a0
Date: 2023-05-08 08:27:25 UTC
SHA: fd84b691b98f25bf0f3259212d12827d25e82215
2 changes: 1 addition & 1 deletion R/ezcox.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ ezcox <- function(data, covariates, controls = NULL,
model_file = ifelse(exists("model_file"), model_file, NA_character_)
)
} else {
if (is(cox, "coxph") | all(is.na(tbl[["ref_level"]]))) {
if (!is(cox, "coxph") | all(is.na(tbl[["ref_level"]]))) {
glob.pval <- p.value <- beta <- HR <- lower_95 <- upper_95 <- NA
} else {
cox <- summary(cox)
Expand Down

0 comments on commit e67c505

Please sign in to comment.