event: Calculate the event using the IPS approach

Description Usage Arguments Examples

View source: R/reestim_IPS.R

Description

Here, we used the IPS approach to re-estimate the sample size based on the relative time method

Usage

1
event(beta0, Interim.event, fixed_sample, scenario)

Arguments

beta0

numeric variable

Interim.event

numeric variable

fixed_sample

numeric variable

scenario

numeric variable between 1 and 4

Examples

1
event(beta0 = 0.462,Interim.event = 53,fixed_sample = 92,scenario = 1)

Palash63/RelativeM documentation built on Dec. 18, 2021, 6:39 a.m.