Learn R Programming

PWEXP

piecewise exponential distribution model

See tutorial (click).

Copy Link

Version

Install

install.packages('PwePred')

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Tianchen Xu

Last Published

April 10th, 2025

Functions in PwePred (1.0.0)

conditional piecewise exponential

The Conditional Piecewise Exponential Distribution
sim_followup

Estimate follow up time and number of events by simulation
piecewise exponential

The Piecewise Exponential Distribution
simdata

Simulate Survival Data
plot_survival

Plot Survival Curve
pwexpm

Fit the Piecewise Exponential Distribution
cv.pwexpm_fit

Cross Validate a Piecewise Exponential Model
boot.pwexpm

Bootstrap a Piecewise Exponential Model
cut_dat

Cut Data before a Specified Time
pwexpm_fit

Fit the Piecewise Exponential Distribution
cv.pwexpm

Cross Validate a Piecewise Exponential Model
plot_event

Plot Cumulative Event Curve
boot.pwexpm_fit

Bootstrap a Piecewise Exponential Model
predict

Predict Events for Piecewise Exponential Model