get_sample_multiple_tte: Generate sample for Monte Carlo integration in the multiple...

View source: R/functions_multiple_tte.R

get_sample_multiple_tteR Documentation

Generate sample for Monte Carlo integration in the multiple setting

Description

Generate sample for Monte Carlo integration in the multiple setting

Usage

get_sample_multiple_tte(hr1, hr2, id1, id2, rho)

Arguments

hr1

assumed true treatment effect on HR scale for endpoint OS

hr2

assumed true treatment effect on HR scale for endpoint PFS

id1

amount of information for hr1 in terms of sample size

id2

amount of information for hr2 in terms of sample size

rho

correlation between the two endpoints

Value

a randomly generated data frame


Sterniii3/drugdevelopR documentation built on Jan. 26, 2024, 6:17 a.m.