Skip to content

Commit 9ec108b

Browse files
committed
fix typos
1 parent 6e04dbb commit 9ec108b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/double_ml.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,12 +737,12 @@ DoubleML = R6Class("DoubleML",
737737
#' a `matrix()` with adjusted p_values.
738738
p_adjust = function(method = "romano-wolf", return_matrix = TRUE) {
739739
if (all(is.na(self$coef))) {
740-
stop("apply fit() before p_adust().")
740+
stop("apply fit() before p_adjust().")
741741
}
742742

743743
if (tolower(method) %in% c("rw", "romano-wolf")) {
744744
if (is.null(self$boot_t_stat) | all(is.na(self$coef))) {
745-
stop("apply fit() & bootstrap() before p_adust().")
745+
stop("apply fit() & bootstrap() before p_adjust().")
746746
}
747747
k = self$data$n_treat
748748
pinit = p_val_corrected = vector(mode = "numeric", length = k)

0 commit comments

Comments
 (0)