Learn R Programming

longsurr (version 1.1)

Longitudinal Surrogate Marker Analysis

Description

Assess the proportion of treatment effect explained by a longitudinal surrogate marker as described in Agniel D and Parast L (2021) ; and estimate the treatment effect on a longitudinal surrogate marker as described in Wang et al. (2025) . A tutorial for this package can be found at .

Copy Link

Version

Install

install.packages('longsurr')

Monthly Downloads

236

Version

1.1

License

GPL

Maintainer

Layla Parast

Last Published

November 9th, 2025

Functions in longsurr (1.1)

resam

Resampling for Semiparametric Joint Linear Model
presmooth_data

Pre-smooth sparse longitudinal data
sjm_linear_estimate

Semiparametric Joint Modeling of the Treatment Effect on a Longitudinal Surrogate with a Linear Model
sjm_nl_estimate

Semiparametric Joint Modeling of the Treatment Effect on a Longitudinal Surrogate with a Nonlinear Model
estimate_surrogate_value

Estimate the surrogate value of a longitudinal marker
data_sjm

Example data for semiparametric joint estimation functions
resam_nonlinear

Resampling for Semiparametric Joint Nonlinear Model
full_data

Example data to illustrate functions