Learn R Programming

riskRegression (version 2022.09.23)

simActiveSurveillance: Simulate data of a hypothetical active surveillance prostate cancer study

Description

Simulate data of a hypothetical active surveillance prostate cancer study

Usage

simActiveSurveillance(n)

Value

data table of size n

Arguments

n

sample size

Author

Thomas A. Gerds <tag@biostat.ku.dk>

Details

This is based on the functionality of library(lava).

Examples

Run this code
set.seed(71)
simActiveSurveillance(3)

Run the code above in your browser using DataLab