distrSim-package {distrSim}R Documentation

distrSim - (S4-) classes for simulations based on package distr

Description

distrSim is to provide a conceptual treatment of simulations by means of S4 classes. The package is based on our package distr, hence uses distribution classes as introduced there to describe the distributions under which simulations are performed.

Details

Package: distrSim
Version: 1.7
Date: 2006-05-11
Depends: R(>= 2.2.0), methods, graphics, setRNG(>= 2006.2-1), distr(>= 1.7)
Imports: stats
SaveImage: no
LazyLoad: yes
License: GPL (version 2 or later)
URL: http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/
Packaged: Thu May 11 10:16:03 2006; Peter
Built: R 2.4.0dev; i386-pc-mingw32; 2006-05-11 10:20:11; windows

Classes


"Dataclass"
      slots: [<name>(<class>)] 
      filename(vectororNULL), Data(vectororNULL), runs(numeric), samplesize(numeric)
|>"Simulation"
      (additional) slots: [<name>(<class>)] 
      seed(list), distribution(UnivariateDistribution)
|>"Contsimulation"
      (additional) slots: [<name>(<class>)] 
      seed(list), ind(vectororNULL), rate(numeric),
      distribution.id(UnivariateDistribution),
      distribution.c(UnivariateDistribution),
      Data.id(vectororNULL),
      Data.c(vectororNULL)

Methods

savedata                Methods to save the data slot 
                       (for Simulation/Contsimulation)
simulate                Methods to fill the data slot 
                       (for Simulation/Contsimulation)
plot                    Methods for Function plot 
                       (for Simulation/Contsimulation)
print-methods           Methods for Function print 
                       (for Simulation/Contsimulation)
summary-methods         Methods for Function summary 
                       (for Simulation/Contsimulation)

Functions

cload                   loads just the comment slot 
                       (for Simulation/Contsimulation)

Slot accessors / -replacement functions

All slots are inspected / modified by corresponding accessors / -replacement functions, e.g. rate(X) for an object of class "Contsimulation"

Start-up-Banner

You may suppress the start-up banner/message completely by setting options("StartupBanner"="off") somewhere before loading this package by library or require in your R-code / R-session.

If option "StartupBanner" is not defined (default) or setting options("StartupBanner"=NULL) or options("StartupBanner"="complete") the complete start-up banner is displayed.

For any other value of option "StartupBanner" (i.e., not in c(NULL,"off","complete")) only the version information is displayed.

The same can be achieved by wrapping the library or require call into either suppressStartupMessages() or onlytypeStartupMessages(.,atypes="version").

Start-up-Banner

You may suppress the start-up banner/message completely by setting options("StartupBanner"="off") somewhere before loading this package by library or require in your R-code / R-session.

If option "StartupBanner" is not defined (default) or setting options("StartupBanner"=NULL) or options("StartupBanner"="complete") the complete start-up banner is displayed.

For any other value of option "StartupBanner" (i.e., not in c(NULL,"off","complete")) only the version information is displayed.

Author(s)

Thomas Stabla statho3@web.de,
Florian Camphausen fcampi@gmx.de,
Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
Matthias Kohl Matthias.Kohl@stamats.de
Maintainer: Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de

References

a more detailed manual for distr, distrSim, distrTEst, and distrEx may be downloaded from http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.pdf

a homepage to this package is available under
http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distrSim.html

See Also

distr setRNG


[Package distrSim version 1.7 Index]