R Under development (unstable) (2025-02-03 r87683 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(Umpire) > set.seed(97531) > > > ## all in one > sm <- SurvivalModel(baseHazard = 1/3) > mte <- MixedTypeEngine(ce = list(nFeatures = 40, + nClusters = 4, + isWeighted = FALSE, + survivalModel = sm), + noise = list(nFeatures = 40, + shape = 1.02, + scale = 0.05/1.02), + cutpoints = list(N = 200, + pCont = 0.6, + pBin = 0.2, + pCat = 0.2, + pNominal = 0.5)) > > ## use all defaults > mte <- MixedTypeEngine(ce = list(nFeatures = 40, + nClusters = 4, + isWeighted = FALSE), + noise = list(nFeatures = 40), + cutpoints = list(N = 200, + pCont = 0.6, + pBin = 0.2, + pCat = 0.2)) > > ## precompute everything except cutpoints > ce <- ClinicalEngine(nFeatures = 40, + nClusters = 4, + isWeighted = FALSE) > noise <- ClinicalNoiseModel(nFeatures = 40) > mte <- MixedTypeEngine(ce, noise, + cutpoints = list(N = 200, + pCont = 0.6, + pBin = 0.2, + pCat = 0.2)) > > proc.time() user system elapsed 1.07 0.12 1.17