dot-dataframe_fun: Create data.frame for piecewise exponential models

.dataframe_funR Documentation

Create data.frame for piecewise exponential models

Description

Construct a split data.frame for updated split points

Usage

.dataframe_fun(Y, I, X, s, lambda, bp, J)

Arguments

Y

time-to-event

I

censor indicator

X

design Matrix

s

split point locations, including start and end (length J + 2)

lambda

baseline Hazards (length J+1)

bp

number of covariates

J

number of split points

Value

data.frame with columns c(tstart, id, X1,..., Xp, Y, I, lambda)


BayesFBHborrow documentation built on Sept. 30, 2024, 9:17 a.m.