weibullsim_betapw {TwoArmSurvSim}R Documentation

Simulate Event Time with weibull Hazard Function and Piecewise Hazard Ratios

Description

Simulate event time with weibull hazard function for piecewise hazard ratios

Usage

weibullsim_betapw(lambda,gamma,t,x,betas)


Arguments

lambda

lambda for event hazard function

gamma

gamma for event hazard function

x

design matrix

betas

covariates for design matrix

t

TIme windows for piecewise hazard ratios


[Package TwoArmSurvSim version 0.2 Index]