Skip to content

Commit

Permalink
Merge pull request #11 from r-causal/ipw
Browse files Browse the repository at this point in the history
add `ipw()`
  • Loading branch information
malcolmbarrett authored Feb 4, 2025
2 parents f48b6f0 + d56c2c2 commit 1992d2c
Show file tree
Hide file tree
Showing 16 changed files with 1,153 additions and 8 deletions.
18 changes: 10 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,21 @@ Authors@R:
comment = c(ORCID = "0000-0003-0299-5825"))
Description: What the package does (one paragraph).
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
Suggests:
spelling,
testthat (>= 3.0.0)
Language: en-US
Config/testthat/edition: 3
URL: https://github.com/malcolmbarrett/propensity,
https://r-causal.github.io/propensity/
BugReports: https://github.com/malcolmbarrett/propensity/issues
Depends:
R (>= 3.5.0)
Imports:
cli,
rlang,
stats,
vctrs (>= 0.6.5)
Suggests:
spelling,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
14 changes: 14 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by roxygen2: do not edit by hand

S3method(as.data.frame,ipw)
S3method(print,ipw)
S3method(vec_arith,psw)
S3method(vec_arith.numeric,psw)
S3method(vec_arith.psw,default)
Expand All @@ -26,6 +28,7 @@ S3method(wt_atu,numeric)
export("estimand<-")
export(as_psw)
export(estimand)
export(ipw)
export(is_causal_wt)
export(is_psw)
export(is_stabilized)
Expand All @@ -37,3 +40,14 @@ export(wt_ato)
export(wt_att)
export(wt_atu)
import(vctrs)
importFrom(stats,dnorm)
importFrom(stats,family)
importFrom(stats,formula)
importFrom(stats,model.frame)
importFrom(stats,model.matrix)
importFrom(stats,model.weights)
importFrom(stats,pnorm)
importFrom(stats,predict)
importFrom(stats,printCoefmat)
importFrom(stats,qnorm)
importFrom(stats,var)
Loading

0 comments on commit 1992d2c

Please sign in to comment.