sspline: Random number generator with custom distribution

Description Usage Arguments Value

View source: R/spline_distribution.R

Description

Random numbers are taken from a distribution which is defined by control points.

Usage

1
sspline(control_points, values)

Arguments

control_points

values describing the ordered distribution

values

values in the distribution to simulate

Value

a vector of numbers generated from the spline interpolated custom distribution.


fstpackage/syntheticbench documentation built on Jan. 23, 2020, 10:13 a.m.