Skip to content

Commit

Permalink
Randomizr suggests; custom obtain if not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesonnet committed Mar 20, 2018
1 parent fdb377f commit bb44663
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Expand Up @@ -2,7 +2,6 @@ Package: estimatr
Type: Package
Title: Fast Estimators for Design-Based Inference
Version: 0.5.0
Date: 2018-02-16
Authors@R: c(person("Graeme", "Blair", email = "graeme.blair@ucla.edu", role = c("aut", "cre")),
person("Jasper", "Cooper", email = "jjc2247@columbia.edu", role = c("aut")),
person("Alexander", "Coppock", email = "alex.coppock@yale.edu", role = c("aut")),
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Expand Up @@ -49,7 +49,6 @@ importFrom(methods,className)
importFrom(methods,isGeneric)
importFrom(methods,setGeneric)
importFrom(methods,setMethod)
importFrom(randomizr,obtain_condition_probabilities)
importFrom(rlang,enquo)
importFrom(rlang,enquos)
importFrom(rlang,eval_tidy)
Expand Down
1 change: 0 additions & 1 deletion R/estimatr.R
Expand Up @@ -10,6 +10,5 @@
#' @importFrom methods setGeneric setMethod isGeneric className
#' @importFrom Formula as.Formula
#' @importFrom rlang enquos enquo eval_tidy quo_get_expr quo_set_expr quo_is_missing sym quo
#' @importFrom randomizr obtain_condition_probabilities
#' @name estimatr
NULL
2 changes: 1 addition & 1 deletion R/estimatr_horvitz_thompson.R
Expand Up @@ -299,7 +299,7 @@ horvitz_thompson <-
)
}

treatment_prob <- randomizr::obtain_condition_probabilities(
treatment_prob <- obtain(
ra_declaration,
condition2
)
Expand Down

0 comments on commit bb44663

Please sign in to comment.