Learn R Programming

landpred (version 2.0)

fit_glm_normal: Fit GLM with Normal Weights (No Short-term Event Info)

Description

Fits a GLM for the probability of the event occurring before t0 + tau, given survival up to t0, using only baseline covariates.

Usage

fit_glm_normal(landpred_obj, t0, tau)

Value

A fitted glm object.

Arguments

landpred_obj

A landpred object containing the data.

t0

The landmark time.

tau

The prediction window.