identify.distribution {simitation}R Documentation

Internal function for Distribution Identification

Description

This internal function identifies the type of distribution based on a given formula and simulates data accordingly. It is not intended for direct usage by end-users.

Usage

## S3 method for class 'distribution'
identify(
  dat = NULL,
  the.step,
  n,
  num.experiments,
  step.split = "~",
  value.split = ","
)

Arguments

dat

Optional data table for generating data.

the.step

A character string specifying the formula for simulation.

n

An integer specifying the number of data points to generate.

num.experiments

An integer specifying the number of experiments to simulate.

step.split

A character indicating the delimiter for splitting the step formula.

value.split

A character used to split values in certain distributions.

Value

A data table with simulated values based on the identified distribution.


[Package simitation version 0.0.7 Index]