Skip to content

Commit

Permalink
Update R/matching.R
Browse files Browse the repository at this point in the history
Co-authored-by: miranta-antoniou-roche <85634224+miranta-antoniou-roche@users.noreply.github.com>
  • Loading branch information
hoppanda and miranta-antoniou-roche authored Jul 28, 2023
1 parent a9455a5 commit 8d0a7a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/matching.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ check_weights <- function(optimized, processed_agd, mean_digits = 2, prop_digits
external_trial = NA,
internal_trial = NA,
internal_trial_after_weighted = NA,
outdata <- data.frame(
covariate = gsub("_CENTERED$", "", match_cov),
match_stat = NA,
internal_trial = NA,
internal_trial_after_weighted = NA,
external_trial = NA,
sum_centered_IPD_with_weights = as.vector(num_check)
)
attr(outdata, "footer") <- list()
Expand Down

0 comments on commit 8d0a7a1

Please sign in to comment.