Skip to content

Commit

Permalink
Revert "First step toward pmatch() to parse report= arg of xBalance()."
Browse files Browse the repository at this point in the history
This reverts commit 9e5980e.
  • Loading branch information
josherrickson committed Dec 10, 2013
1 parent 93bfe45 commit 5d4bd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/xBalance.R
Expand Up @@ -127,7 +127,7 @@ xBalance <- function(fmla, strata=list(unstrat=NULL),
##colnames(ans$by.variable) <- nms
attr(ans, "fmla") <- formula(tfmla)

if (any(pmatch(report,"chisquare.test",0))) {
if ("chisquare.test" %in% report) {
ans$overall <- data.frame(chisquare = numeric(length(RES)),
df = numeric(length(RES)),
p.value = numeric(length(RES)),
Expand Down

0 comments on commit 5d4bd44

Please sign in to comment.