Learn R Programming

simitation (version 0.0.7)

buildsim.poisson: Internal function for Simulation for Poisson Distributed Data

Description

This internal function generates data based on a Poisson distribution specified by the provided formula. It is not intended for direct usage by end-users.

Usage

buildsim.poisson(the.formula, the.variable, n, num.experiments)

Value

A data frame with simulated Poisson distributed values based on the given formula.

Arguments

the.formula

A character string specifying the Poisson distribution function, e.g., "poisson(3)".

the.variable

A character string naming the variable in the generated data.

n

An integer specifying the number of data points to generate for each experiment.

num.experiments

An integer specifying the number of experiments to simulate.