Learn R Programming

landpred (version 2.0)

get_model: Get Landpred Model

Description

Creates a landpred model object for a specific landmark time and prediction window. Dispatches to continuous or discrete model creation based on the landpred object type.

Usage

get_model(landpred_obj, t0, tau, bw = NULL, transform = identity)

Value

A landpred_model object (continuous or discrete).

Arguments

landpred_obj

A landpred object.

t0

The landmark time.

tau

The prediction window.

bw

The bandwidth.

transform

Transformation function.