nordcanstat_survival: NORDCAN Survival Statistics

View source: R/nordcansurvival.R

nordcanstat_survivalR Documentation

NORDCAN Survival Statistics

Description

Compute survival statistics for NORDCAN. Data is written onto disk and Stata is called on the on-disk dataset.

Usage

nordcanstat_survival(
  cancer_record_dataset,
  national_population_life_table,
  stata_exe_path = NULL,
  subset = NULL,
  surv_ds_nms,
  survival_test_sample,
  survival_trace = FALSE
)

Arguments

cancer_record_dataset

'[data.table]' (mandatory, no default)

the NORDCAN dataset of cancer records after pre-processing

national_population_life_table

'[data.table]' (mandatory, no default)

the national population life table

stata_exe_path

'[character]' (mandatory, no default)

full path to Stata executable

subset

'[NULL, logical, integer]' (optional, default 'NULL')

see [nordcancore::handle_subset_arg]


CancerRegistryOfNorway/stnetcall documentation built on June 15, 2025, 11:36 a.m.