Package: weightedsurv 0.2.0
weightedsurv: Survival Analysis with Subject-Specific (Case Weights) and Time-Dependent Weighting
Provides survival analysis functions with support for time-dependent and subject-specific (e.g., propensity score) weighting. Implements weighted estimation for Cox models, Kaplan-Meier survival curves, and treatment differences with point-wise and simultaneous confidence bands. Includes restricted mean survival time (RMST) comparisons evaluated across all potential truncation times with both point-wise and simultaneous confidence bands. See Cole, S. R. & Hernán, M. A. (2004) <doi:10.1016/j.cmpb.2003.10.004> for methodological background.
Authors:
weightedsurv_0.2.0.tar.gz
weightedsurv_0.2.0.zip(r-4.7-any)weightedsurv_0.2.0.zip(r-4.6-any)
weightedsurv_0.2.0.tar.gz(r-4.7-any)weightedsurv_0.2.0.tar.gz(r-4.6-any)
weightedsurv_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
weightedsurv/json (API)
| # Install 'weightedsurv' in R: |
| install.packages('weightedsurv', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/larry-leon/weightedsurv/issues
Pkgdown/docs site:https://larry-leon.github.io
Last updated from:00feaf8939. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 195 | ||
| source / vignettes | OK | 279 | ||
| linux-release | OK | 241 | ||
| windows-devel | OK | 132 | ||
| windows-release | OK | 161 | ||
| wasm-release | OK | 148 |
Exports:add_legendsadd_median_annotationadd_risk_tablecalculate_risk_event_countscheck_km_curvecheck_resultsci_coxcount_weightedcox_rhogammacox_rhogamma_resamplecox_score_rhogammacreate_baseline_tablecumulative_rmst_bandsdf_countingextract_and_calc_weightsextract_group_datafind_cox_rootformat_pvalget_censoring_and_eventsget_dfcountingget_event_risk_matricesget_riskpointsget_validated_weightsget_weightsKM_diffKM_estimatesKM_plot_2sample_weighted_countingkm_quantilekm_quantile_tablekmq_calculationsN_rhogammaplot_kmplot_km_confint_polygonplot_km_curves_countingplot_weight_schemesplot_weighted_kmplotKM.band_subgroupsps_weightsresampling_survivalrisk_weightedsafe_runscore_calculationvalidate_inputvalidate_scheme_paramswlr_cumulativewlr_dhat_estimateswt.rg.S
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerrlangS7scalessurvivalvctrsviridisLitewithr
