example.simfun {mlpwr}R Documentation

Example simulation functions

Description

These simulation functions can be loaded as examples or templates. They correspond to the functions in the 'simulation_functions' vignette. The vignette contains the code and a description of the simfuns.

Usage

example.simfun(name)

Arguments

name

Name of the simulation function as a character. Currently available are: 'ttest','anova','glm2','irt1','irt2','multi2'.

Value

The returned object is the simulation function.

Examples

simfun = example.simfun('ttest')
simfun(400)


[Package mlpwr version 1.1.0 Index]