Learn R Programming

landpred (version 2.0)

Prob.Null: Calculate Probability with No Information

Description

Calculates the probability of the event occurring before t0 + tau, given survival up to t0, without using any covariate information.

Usage

Prob.Null(t0, tau, data, weight = NULL, newdata = NULL)

Value

A landpred_result object.

Arguments

t0

The landmark time.

tau

The prediction window.

data

The data frame.

weight

Optional weights.

newdata

Optional new data for prediction.