Writes the particles contained in the particles data frame slot of the ParticleSet object elements. A track of the provenience of the particles is stored as a comment line above the header

export.particles(
  particleset,
  dir = tempdir(),
  nameStub = "testExport_particles"
)

Arguments

particleset

A ParticleSet object

dir

The path of the folder where the particle sets should be written

nameStub

The stub for the file name, that will be used as a prefix for the exported particle sets

Value

Particle sets files are written in the desired location

Author

Federico Marini, marinif@uni-mainz.de, 2014

Examples

data("candidate.platelets")
if (FALSE) export.particles(candidate.platelets)