R version 4.4.0 beta (2024-04-12 r86413 ucrt) -- "Puppy Cup" 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. > require(norMmix) Loading required package: norMmix > > ## "large" "lambda" values : > lam <- 709 - (0:4)/10 > (w <- clr1inv(lam)) [1] 0.0000000 0.2418551 0.2188396 0.1980142 0.1791707 0.1621203 > stopifnot(length(w) == 1 + length(lam), + w[1] == 0, w[-1] > 0, + all.equal(sum(w), 1)) > > proc.time() user system elapsed 0.17 0.09 0.20