Package: TestFunctions 0.2.2.9000

TestFunctions: Test Functions for Simulation Experiments and Evaluating Optimization and Emulation Algorithms

Test functions are often used to test computer code. They are used in optimization to test algorithms and in metamodeling to evaluate model predictions. This package provides test functions that can be used for any purpose.

Authors:Collin Erickson [aut, cre]

TestFunctions_0.2.2.9000.tar.gz
TestFunctions_0.2.2.9000.zip(r-4.5)TestFunctions_0.2.2.9000.zip(r-4.4)TestFunctions_0.2.2.9000.zip(r-4.3)
TestFunctions_0.2.2.9000.tgz(r-4.4-any)TestFunctions_0.2.2.9000.tgz(r-4.3-any)
TestFunctions_0.2.2.9000.tar.gz(r-4.5-noble)TestFunctions_0.2.2.9000.tar.gz(r-4.4-noble)
TestFunctions_0.2.2.9000.tgz(r-4.4-emscripten)TestFunctions_0.2.2.9000.tgz(r-4.3-emscripten)
TestFunctions.pdf |TestFunctions.html
TestFunctions/json (API)
NEWS

# Install 'TestFunctions' in R:
install.packages('TestFunctions', repos = c('https://collinerickson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/collinerickson/testfunctions/issues

On CRAN:

5.63 score 2 packages 47 scripts 472 downloads 126 exports 53 dependencies

Last updated 2 months agofrom:8c3110dbe6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 15 2024
R-4.5-winOKOct 15 2024
R-4.5-linuxOKOct 15 2024
R-4.4-winOKOct 15 2024
R-4.4-macOKOct 15 2024
R-4.3-winOKOct 15 2024
R-4.3-macOKOct 15 2024

Exports:ackleyadd_linear_termsadd_noiseadd_null_dimsadd_zoombananabanana_gradbananagramacy2Dexpbananatimesgramacy2DexpbealebeambendingboreholeboreholeMVbraninchengsanducurrin1991currin1991bdetpep8deasomfrankefuncprofilegaussian1GfunctionGoldsteinPriceGoldsteinPriceLoggramacy2Dexpgramacy2Dexp3holegramacy6Dgriewankhartmannhumplevylevytiltlimnonpolylimpolylinkletter_nosignallogisticlogistic_plateaulogistic15michalewiczmoon_highmorrisnsinnumGradnumHessianOTL_Circuitpistonpowsinquad_peaksquad_peaks_slantrastriginRFFRFF_getrobotarmRoosArnoldsinumoidsqrtsinstandard_test_funcsteelcolumnstresssubtractlmSWNExpCostest_func_applytest_func_applyMOTF_ackleyTF_bananaTF_banana_gradTF_bananagramacy2DexpTF_bananatimesgramacy2DexpTF_bealeTF_beambendingTF_boreholeTF_boreholeMVTF_braninTF_chengsanduTF_currin1991TF_currin1991bTF_detpep8dTF_easomTF_frankeTF_gaussian1TF_GfunctionTF_GoldsteinPriceTF_GoldsteinPriceLogTF_gramacy2DexpTF_gramacy2Dexp3holeTF_gramacy6DTF_griewankTF_hartmannTF_humpTF_levyTF_levytiltTF_limnonpolyTF_limpolyTF_linkletter_nosignalTF_logisticTF_logistic_plateauTF_logistic15TF_michalewiczTF_moon_highTF_morrisTF_OTL_CircuitTF_pistonTF_powsinTF_quad_peaksTF_quad_peaks_slantTF_rastriginTF_robotarmTF_RoosArnoldTF_sinumoidTF_sqrtsinTF_steelcolumnstressTF_SWNExpCosTF_vertigradTF_vertigrad_gradTF_welchTF_wingweightTF_winkelTF_zhou1998vertigradvertigrad_gradvsinwaterfallwelchwingweightwinkelzhou1998

Dependencies:base64encbslibcachemclicolorspaceContourFunctionsdigestevaluatefansifarverfastmapfontawesomefsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonliteknitrlabelinglatticelhslifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmenumDerivpillarpkgconfigR6rappdirsRColorBrewerRcpprlangrmarkdownsassscalestibbletinytexutf8vctrsviridisLitewithrxfunyaml

An Introduction to TestFunctions

Rendered fromAnIntroductiontoTestFunctions.Rmdusingknitr::rmarkdownon Oct 15 2024.

Last update: 2024-01-17
Started: 2016-11-04

Readme and manuals

Help Manual

Help pageTopics
add_linear_terms: Add linear terms to another function. Allows you to easily change an existing function to include linear terms.add_linear_terms
add_noise: Adds noise to any functionadd_noise
add_null_dims: Add null dimensions to another function. Allows you to pass in input data with any number of dimensions and it will only keep the first nactive.add_null_dims
add_zoom: Zoom in on region of another function. Allows you to easily change an existing function so that [0,1]^n refers to a subregion of the original functionadd_zoom
bananagramacy2Dexp: bananagramacy2Dexp function 6 dimensional function. First two dimensions are banana function, next two are the gramacy2Dexp function, last two are null dimensionsackley banana bananagramacy2Dexp bananatimesgramacy2Dexp banana_grad beale beambending borehole boreholeMV branin chengsandu currin1991 currin1991b detpep8d easom franke gaussian1 Gfunction GoldsteinPrice GoldsteinPriceLog gramacy2Dexp gramacy2Dexp3hole gramacy6D griewank hartmann hump levy levytilt limnonpoly limpoly linkletter_nosignal logistic logistic15 logistic_plateau michalewicz moon_high morris OTL_Circuit piston powsin quad_peaks quad_peaks_slant rastrigin robotarm RoosArnold sinumoid sqrtsin steelcolumnstress SWNExpCos test_func_apply vertigrad vertigrad_grad waterfall welch wingweight winkel zhou1998
Profile a functionfuncprofile
Wave functionsnsin vsin
Create function calculating the numerical gradientnumGrad
Create function calculating the numerical hessiannumHessian
Evaluate an RFF (random wave function) at given inputRFF
Create a new RFF functionRFF_get
Create a standard test function.standard_test_func
Subtract linear model from a functionsubtractlm
General function for evaluating a test function with multivariate outputtest_func_applyMO
TF_ackley: Ackley function for evaluating a single point.TF_ackley
TF_bananagramacy2Dexp: bananagramacy2Dexp function for evaluating a single point.TF_bananagramacy2Dexp
TF_bananatimesgramacy2Dexp: bananatimesgramacy2Dexp function for evaluating a single point.TF_bananatimesgramacy2Dexp
TF_beale: Beale function for evaluating a single point.TF_beale
TF_beambending: beambending function for evaluating a single point.TF_beambending
Base test function.TF_banana TF_banana_grad TF_borehole TF_boreholeMV TF_branin TF_currin1991 TF_currin1991b TF_franke TF_gaussian1 TF_limnonpoly TF_limpoly TF_OTL_Circuit TF_powsin TF_sinumoid TF_sqrtsin TF_zhou1998
TF_chengsandu: chengsandu function for evaluating a single point.TF_chengsandu
TF_detpep8d: detpep8d function for evaluating a single point.TF_detpep8d
TF_easom: Easom function for evaluating a single point.TF_easom
TF_Gfunction: G-function for evaluating a single point.TF_Gfunction
TF_GoldsteinPrice: Goldstein Price function for evaluating a single pointTF_GoldsteinPrice
TF_GoldsteinPrice: Goldstein Price function for evaluating a single point on a log scale, normalized to have mean 0 and variance 1.TF_GoldsteinPriceLog
TF_gramacy2Dexp: gramacy2Dexp function for evaluating a single point.TF_gramacy2Dexp
TF_gramacy2Dexp3hole: gramacy2Dexp3hole function for evaluating a single point.TF_gramacy2Dexp3hole
TF_gramacy6D: gramacy6D function for evaluating a single point.TF_gramacy6D
TF_griewank: Griewank function for evaluating a single point.TF_griewank
TF_hartmann: hartmann function for evaluating a single point.TF_hartmann
TF_hump: Hump function for evaluating a single point.TF_hump
TF_levy: Levy function for evaluating a single point.TF_levy
TF_levytilt: Levy function with a tilt for evaluating a single point.TF_levytilt
TF_linkletter_nosignal: Linkletter (2006) no signal function for evaluating a single point.TF_linkletter_nosignal
TF_logistic: logistic function for evaluating a single point.TF_logistic
TF_logistic_plateau: logistic_plateau function for evaluating a single point.TF_logistic_plateau
TF_logistic15: logistic15 function for evaluating a single point. Same as logistic except adjusted to be reasonable from 0 to 1.TF_logistic15
TF_michalewicz: Michalewicz function for evaluating a single point.TF_michalewicz
TF_moon_high: Moon (2010) high-dimensional function for evaluating a single point.TF_moon_high
TF_morris: morris function for evaluating a single point.TF_morris
TF_piston: Piston simulation function for evaluating a single point.TF_piston
TF_quad_peaks: quad_peaks function for evaluating a single point.TF_quad_peaks
TF_quad_peaks_slant: quad_peaks_slant function for evaluating a single point.TF_quad_peaks_slant
TF_rastrigin: Rastrigin function for evaluating a single point.TF_rastrigin
TF_robotarm: Robot arm function for evaluating a single point.TF_robotarm
TF_RoosArnold: Roos & Arnold (1963) function for evaluating a single point.TF_RoosArnold
TF_steelcolumnstress: steelcolumnstress function for evaluating a single point.TF_steelcolumnstress
TF_SWNExpCos: SWNExpCos function for evaluating a single point.TF_SWNExpCos
TF_vertigrad: vertigrad function for evaluating a single point.TF_vertigrad
TF_vertigrad_grad: vertigrad_grad function for evaluating a single point.TF_vertigrad_grad
TF_welch: Welch function for evaluating a single point.TF_welch
TF_wingweight: Wing weight function for evaluating a single point.TF_wingweight
TF_winkel: winkel function for evaluating a single point.TF_winkel