# PS-Integrated Methods for Incorporating Real-World Evidence in Clinical Studies

## Documentation for package ‘psrwe’ version 3.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Code demos. Use demo() to run them.
- Package NEWS.

## Help Pages

ex_dta | Example dataset
ex_dta_rct | Example dataset
get_distance | Distance between two distributions
plot.PSRWE_DTA | Plot PS distributions
plot.PSRWE_DTA_MAT | Plot PS distributions
plot.PSRWE_RST | Plot estimation results for power prior approach
print.PSRWE_BOR | Print borrow information
print.PSRWE_DTA | Print PS estimation results
print.PSRWE_DTA_MAT | Print PS estimation results
print.PSRWE_RST | Print estimation results
print.PSRWE_RST_OUTANA | Print outcome analysis results
psrwe_borrow | Get number of subjects borrowed from each statum
psrwe_ci | Confidence/Credible Interval for PS-Integrated Estimation
psrwe_compl | PS-Integrated Composite Likelihood Estimation
psrwe_est | Estimate propensity scores
psrwe_infer | Inference for the PS-Integrated Estimation
psrwe_match | PS matching
psrwe_outana | Outcome Analysis for PS-Integrated Estimation
psrwe_powerp | Get posterior samples based on PS-power prior approach
psrwe_powerp_watt | Get posterior samples based on PS-power prior approach (WATT)
psrwe_survkm | PS-Integrated Kaplan-Meier Estimation
psrwe_survlrk | PS-Integrated Log-Rank Test For Comparing Time-to-event Outcomes
psrwe_survrmst | PS-Integrated Restricted Mean Survival Time (RMST) Test For Comparing Time-to-event Outcomes
rwe_cl | Composite Likelihood Estimation
rwe_cut | Create strata
rwe_km | Kaplan-Meier Estimation
rwe_lrk | Log-rank Estimation
rwe_rmst | RMST Estimation
rwe_stan | Call STAN models
summary.PSRWE_DTA | Summarize PS estimation and stratification results
summary.PSRWE_DTA_MAT | Summarize PS estimation and matching results
summary.PSRWE_RST | Summarize overall estimation results
summary.PSRWE_RST_OUTANA | Summary outcome analysis results