# censsamplef

##### Random data for Poly-k

Random data for Poly-k for a one-way layout, with I groups.

- Keywords
- datagen

##### Usage

`censsamplef(n, scale.m, shape.m, scale.t, shape.t = 3, tmax)`

##### Arguments

- n
a numeric vector, the numbers of individuals of length I

- scale.m
a numeric vector, scale parameters of the Weibull distribution for mortality

- shape.m
a numeric vector, shape parameters of the Weibull distribution for mortality

- scale.t
a numeric vector, scale parameters of the Weibull distribution for tumour induction

- shape.t
a numeric vector, shape parameters of the Weibull distribution for tumour induction

- tmax
a single numeric value, maximum time in the trial

##### Value

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

a factor of containing an appropriate grouping variable

*Documentation reproduced from package MCPAN, version 1.1-21, License: GPL-2*