Learn R Programming

riskRegression (version 2023.12.21)

simMelanoma: Simulate data alike the Melanoma data

Description

Simulate data alike the Melanoma data

Usage

simMelanoma(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)
simMelanoma(3)

Run the code above in your browser using DataLab