R scripts used in the analysis of Melanoma incidence in Norway, 1983–2019 Rimal et.al. 20241
Most script files depend on two main files 00-CodeMap.R
and 00-Functions.R
. The first one contains all the rules for categorizing continuous variables such as T-category
, AgeGroup
, YearCat
etc. The file also includes the mapping from ICD codes to their category such as AnatomicSite
, and MelanomaType
. The second file 00-Functions.R
contains all the functions created to collect all the common computations. The file also includes a function extensively used to develop plots used in the paper. The Scripts were kept inside different folders during the analysis so the scripts may contain this path while running these source files.
The code also depends on data and the correct path for data and script to run the complete analysis.
Footnotes
-
Rimal, R., Robsahm, T.E., Green, A.C., Ghiasvand, R., Rueegg, C.S., Bassarova, A., Gjersvik, P., Weiderpass, E., Aalen, O.O., Møller, B., Perrier, F., Veierød, M.B., 2024. Trends in Invasive Melanoma Thickness in Norway, 1983–2019. Acta Dermato-Venereologica 104, adv26110–adv26110. https://doi.org/10.2340/actadv.v104.26110 ↩