Clustered sampling specification
Usage
synthetic.sampling.clustered(
cluster.count,
observations.per.cluster,
center.lower = -1,
center.upper = 1,
within.sd,
algorithm = "centers.then.gaussian.offsets.v1"
)Examples
synthetic.sampling.clustered(3L, 5L, within.sd = 0.1)
#> $kind
#> [1] "sampling"
#>
#> $family
#> [1] "clustered"
#>
#> $version
#> [1] 1
#>
#> $parameters
#> $parameters$cluster.count
#> [1] 3
#>
#> $parameters$observations.per.cluster
#> [1] 5
#>
#> $parameters$center.lower
#> [1] -1
#>
#> $parameters$center.upper
#> [1] 1
#>
#> $parameters$within.sd
#> [1] 0.1
#>
#> $parameters$algorithm
#> [1] "centers.then.gaussian.offsets.v1"
#>
#> $parameters$fixed.n
#> [1] 15
#>
#>
#> attr(,"class")
#> [1] "synthetic_clustered_sampling" "synthetic_sampling_component"
#> [3] "synthetic_sampling" "synthetic_component"