ssf_ind: Apply a list of SSF candidate models to multiple individuals

View source: R/fcts RSF.R

ssf_indR Documentation

Apply a list of SSF candidate models to multiple individuals

Description

Apply ssf_mod to each individual of a dataset

Usage

ssf_ind(id, data, form_ls, cleanModel = T, method = "approximate")

Arguments

id

A vector indicating the individuals

data

The dataset containing all data

form_ls

A list of formulas for the different candidate models

method

Whether exact or approximate ML should be performed (see package survival)

cleamModel

Whether the model should be "cleaned" to save memory space (default = F)

Value

A list of of coxph objects


BastilleRousseau/IndRSA documentation built on Jan. 28, 2024, 2:14 a.m.