Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SimParameters

SimParameters object


Description

This function creates an object of class SimParameters to be passed into the CSE function.

Usage

SimParameters(n.sims, seed, proc.load = 1)

Arguments

n.sims

defines the number of simulations.

seed

defines the seed for the simulations.

proc.load

defines the load of the processor (parallel computation).

Details

Objects of class SimParameters are used in the CSE function to define the simulation parameters.

The proc.load argument is used to define the number of clusters dedicated to the simulations. Numeric value can be defined as well as character value which automatically detect the number of cores:

  • low: 1 processor core.

  • med: Number of available processor cores / 2.

  • high: Number of available processor cores - 1.

  • full: All available processor cores.

References

See Also

See Also CSE.

Examples

sim.parameters = SimParameters(n.sims = 1000, proc.load = "full", seed = 42938001)

Mediana

Clinical Trial Simulations

v1.0.8
GPL-2
Authors
Gautier Paux, Alex Dmitrienko.
Initial release
2019-05-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.