The goal of sjosmooth is to provide kernel smoothed estimates for time to event data.
You can install the released version of sjosmooth from GitHub with:
The sjosmooth package has two primary functions. The first
calculates kernel-weighted regression models (
sm_regression). The user
specifies a regression model and a variable for weighting, and
sm_regression will estimate a weighted regression model for each
unique value of the specified variable.
The second function (
sm_predict) calculates kernel-weighted
predictions from regression models (i.e. outcomes that can be calculated
The package was written generally, such that any regression model should
be compatible. However, only
stats::glm() models were