Skip to contents

Uniform-rectangle sampling specification

Usage

synthetic.sampling.uniform.rectangle(
  lower,
  upper,
  algorithm = "coordinate.sequential.runif.v1"
)

Arguments

lower, upper

Length-two coordinate bounds.

algorithm

Versioned draw algorithm.

Value

A synthetic sampling component.

Examples

synthetic.sampling.uniform.rectangle(c(-1, -2), c(1, 2))
#> $kind
#> [1] "sampling"
#> 
#> $family
#> [1] "uniform.rectangle"
#> 
#> $version
#> [1] 1
#> 
#> $parameters
#> $parameters$lower
#> [1] -1 -2
#> 
#> $parameters$upper
#> [1] 1 2
#> 
#> $parameters$algorithm
#> [1] "coordinate.sequential.runif.v1"
#> 
#> 
#> attr(,"class")
#> [1] "synthetic_uniform_rectangle_sampling"
#> [2] "synthetic_sampling_component"        
#> [3] "synthetic_sampling"                  
#> [4] "synthetic_component"