Man pages for WMAP
Weighted Meta-Analysis with Pseudo-Populations

balancing.weightsCompute balancing weights using FLEXOR, IC, or IGO methods
bootStrapBootstrap procedure for variance estimation
causal.estimateEstimate causal effects using FLEXOR, IC, or IGO methods
check.factorCheck if factor levels are valid
checkSampleValidate and resample bootstrap data
demoDemo Dataset
fn.check_essCheck for low effective sample size
fn.check_extreme_weightsCheck for extreme weights
fn.check_positivityCheck for positivity violations
fn.clipClip vector values to bounds and renormalize
fn.createListDataCreate structured data list from input vectors
fn.ESS_FLEXORFunction for FLEXOR optimization
fn.Estimate_mgPSEstimate multiple propensity scores
fn.fit_outcome_modelFit random forest outcome model and generate predicted...
fn.FLEXORCalculate FLEXOR weights
fn.folds_by_observationAssign cross-fitting folds by observation rather than by row
fn.ICCalculate IC weights
fn.loopIterative optimization loop for FLEXOR
fn.OmnibusCalculate IGO weights
fn.PMF_quantileCalculate the weighted quantile using probability mass...
fn.rdirichletSample from Dirichlet distribution
fn.RF_crossfit_onceRun one complete 5-fold cross-fit for propensity score...
fn.RF_fit_singleSingle-fit propensity score estimation for bootstrap samples
fn.RF_tune_nodesizeSelect min.node.size for propensity RF via weight-stability...
fn.RF_ZFirstEstimate joint propensity scores with cross-fitting or single...
fn.run_diagnosticsRun all diagnostic checks on balancing weights
fn.Stage2Calculate weighted moments and group differences
fn.SVDPerform SVD dimensionality reduction on covariates
fn.userInputChecks_1Validate method and FLEXOR-specific parameters
fn.userInputChecks_2Validate data dimensions and completeness
fn.userInputChecks_3Variable outcome dimensions
fn.WeightsWrapper for Stage1 function with retry logic
global_variablesGlobal variable declarations for R CMD check
grapes-or-or-grapesNull coalescing operator Returns first argument if not NULL,...
is.naturalCheck if value is a natural number
is.probvectorCheck if vector is a valid probability vector
plot.causal_estimatesPlot method for objects of class 'causal_estimates'
preStage1Preprocess data for Stage 1 analysis
Stage1Calculate balancing weights with method routing
summary.balancing_weightsSummary method for objects of class 'balancing_weights'
summary.causal_estimatesSummary method for objects of class 'causal_estimates'
write_resFormat estimates with confidence intervals
write_sigma_ratioCalculate standard deviation ratios with confidence intervals
WMAP documentation built on Oct. 6, 2026, 1:07 a.m.