Skip to content

Possible value range for variogram_range? #416

Closed

Description

@hfrick

Our docs say:

dials/R/space_filling.R

Lines 19 to 21 in 11ec401

#' @param variogram_range A numeric value greater than zero. Larger values
#' reduce the likelihood of empty regions in the parameter space. Only used
#' for `type = "max_entropy"`.

It's passed to DiceDesign::dmaxDesign()

dials/R/space_filling.R

Lines 409 to 416 in 11ec401

sfd <-
DiceDesign::dmaxDesign(
n = size,
dimension = length(params),
range = variogram_range,
niter_max = iter,
seed = sample.int(10^5, 1)
)

which itself does allow the full range. Do we also want to allow that?

Activity

  1. topepo commented on Jan 29, 2026

    @topepo
    Member

    The underlying function does not have a default:

    args(DiceDesign::dmaxDesign)
    #> function (n, dimension, range, niter_max = 1000, seed = NULL) 
    #> NULL

    Created on 2026-01-29 with reprex v2.1.1

    I came up with 1/2 for variogram_range by looking at different values with a 2D design and seeing what appeared to give the best results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions