R Under development (unstable) (2024-10-17 r87242 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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(randtoolbox) Loading required package: rngWELL This is randtoolbox. For an overview, type 'help("randtoolbox")'. > > > if(FALSE) + { + + n <- 10 + mymj <- list( + c(1), + c(1), + c(1,3,7)) + mypj <- c(1, 3, 7) + + myV <- sobol.V(mymj ,mypj, bitnb=31, echo=FALSE) + + + uD1 <- sobol.basic(n, myV[[1]], bitnb=31, echo=FALSE, output="real", + start=1) + uD2 <- sobol.basic(n, myV[[2]], bitnb=31, echo=FALSE, output="real", + start=1) + uD3 <- sobol.basic(n, myV[[3]], bitnb=31, echo=FALSE, output="real", + start=1) + + sobol.check <- read.csv("sobol.check.csv") + + sobol.check[1:n, 1:3] == cbind(uD1, uD2, uD3) + + + sobol.R(n, 3) + } > > > proc.time() user system elapsed 0.23 0.07 0.28