- p0_e1
numeric parameter between 0 and 1, expected proportion of observed events for the endpoint E1
- p0_e2
numeric parameter between 0 and 1, expected proportion of observed events for the endpoint E2
- HR_e1
numeric parameter between 0 and 1, expected cause specific hazard Ratio the endpoint E1
- HR_e2
numeric parameter between 0 and 1, expected cause specific hazard Ratio the endpoint E2
- beta_e1
numeric positive parameter, shape parameter (\(\beta_1\)) for a Weibull distribution for the endpoint E1 in the control group. See details for more info.
- beta_e2
numeric positive parameter, shape parameter (\(\beta_2\)) for a Weibull distribution for the endpoint E2 in the control group. See details for more info.
- case
integer parameter in {1,2,3,4}: (1) none of the endpoints is death; (2) endpoint 2 is death; (3) endpoint 1 is death; (4) both endpoints are death by different causes.
- copula
character indicating the copula to be used: "Frank" (default), "Gumbel" or "Clayton". See details for more info.
- rho
numeric parameter between -1 and 1, Spearman's correlation coefficient o Kendall Tau between the marginal distribution of the times to the two events E1 and E2. See details for more info.
- rho_type
character indicating the type of correlation to be used: "Spearman" (default) or "Kendall". See details for more info.
- followup_time
numeric parameter indicating the maximum follow up time (in any unit). Default is 1.
- sample_size
sample size for each arm (treated and control)