R Under development (unstable) (2025-08-17 r88631 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. > # limit-scalability.R --- Test function limit.scalability > > library(usl) > > data(specsdm91) > > u <- usl(throughput ~ load, specsdm91) > > # Calculate where limit scalability is reached > stopifnot(all.equal(limit.scalability(u), 3245.589, 0.0001)) > > # Calculate scalability for different coefficients > stopifnot(all.equal(limit.scalability(u, 0.001, 0.00001), 89995.23, 0.0001)) > > proc.time() user system elapsed 0.17 0.07 0.23