Skip to contents

Use tune_fixed() to explicitly mark a value as fixed. This is mainly useful inside dependent specifications such as tune_dep().

Usage

tune_fixed(x)

Arguments

x

Any R object.

Value

A gstune_spec object.

Examples

tune_fixed(0.025)
#> $type
#> [1] "fixed"
#> 
#> $value
#> [1] 0.025
#> 
#> $call
#> tune_fixed(x = 0.025)
#> 
#> attr(,"class")
#> [1] "gstune_spec"