Random numbers from two independent Weibull distributions for Mortality and tumour induction.
censsample(n, scale.m, shape.m,
scale.t, shape.t = 3, tmax)
a single numeric value, the number of individuals
a single numeric value, scale parameter of the Weibull distribution for mortality
a single numeric value, shape parameter of the Weibull distribution for mortality
a single numeric value, scale parameter of the Weibull distribution for tumour induction
a single numeric value, shape parameter of the Weibull distribution for tumour induction
a single numeric value, maximum time in the trial
A data.frame with columns
a numeric vector of length n, the time of death of an individual
a logical vector of length n, the tumour status at time of death (TRUE: tumour present, FALSE: no tumour present)
time of tumour induction (unobservable)
time of death
maximum time of death