Truncated-normal sampling specification
Source:R/synthetic_sampling.R
synthetic.sampling.truncated.normal.RdTruncated-normal sampling specification
Usage
synthetic.sampling.truncated.normal(
mean,
sd,
lower,
upper,
order = c("draw", "ascending"),
algorithm = "inverse.cdf.v1"
)Examples
synthetic.sampling.truncated.normal(0, 1, -2, 2)
#> $kind
#> [1] "sampling"
#>
#> $family
#> [1] "truncated.normal"
#>
#> $version
#> [1] 1
#>
#> $parameters
#> $parameters$mean
#> [1] 0
#>
#> $parameters$sd
#> [1] 1
#>
#> $parameters$lower
#> [1] -2
#>
#> $parameters$upper
#> [1] 2
#>
#> $parameters$order
#> [1] "draw"
#>
#> $parameters$algorithm
#> [1] "inverse.cdf.v1"
#>
#>
#> attr(,"class")
#> [1] "synthetic_truncated_normal_sampling" "synthetic_sampling_component"
#> [3] "synthetic_sampling" "synthetic_component"