Skip to content

Commit 91cfdec

Browse files
committed
Message after matching on PS now shows correct number of subjects remaining after matching.
1 parent a512a9e commit 91cfdec

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Bugfixes:
1111

1212
2. Stopping fitting PS model early when either target or comparator is empty. Prevents error when target or comparator is empty, sampling is required, and Cyclops happens to fit a model instead of declaring ILL CONDITIONED.
1313

14+
3. Message after matching on PS now shows correct number of subjects remaining after matching.
15+
1416

1517
CohortMethod 5.2.1
1618
==================

R/PsFunctions.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ matchOnPs <- function(population,
10541054
attr(population, "metaData")$targetEstimator <- "att"
10551055
}
10561056
}
1057-
ParallelLogger::logDebug("Population size after matching is ", nrow(result))
1057+
ParallelLogger::logDebug("Population size after matching is ", nrow(population))
10581058
return(population)
10591059
}
10601060

0 commit comments

Comments
 (0)