Returns the probability of observing a single endpoint
get_prob1(beta1, beta2, b11, b21, case, rho, copula = "Frank", endpoint)
Shape parameter for a Weibull law for the relevant event
Shape parameter for a Weibull law for the additional event
Scale parameter of the Weibull distribution in treated arm for the relevant event
Scale parameter of the Weibull distribution in treated arm for the additional event
Censoring case: 1, 2, 3 or 4
Spearman's coefficient between the 2 marginal distributions
Copula to use
Endpoint from which it is wanted to obtain the probability of being observed