Learn R Programming

Kernelheaping (version 2.3.0)

createSim.Kernelheaping: Create heaped data for Simulation

Description

Create heaped data for Simulation

Usage

createSim.Kernelheaping(
  n,
  distribution,
  rounds,
  thresholds,
  offset = 0,
  downbias = 0.5,
  Beta = 0,
  ...
)

Arguments

n

sample size

distribution

name of the distribution where random sampling is available, e.g. "norm"

rounds

rounding values

thresholds

rounding thresholds (for Beta=0)

offset

certain value added to all observed random samples

downbias

bias parameter

Beta

acceleration paramter

...

additional attributes handed over to "rdistribution" (i.e. rnorm, rgamma,..)

Value

List of heaped values, true values and input parameters