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"
)
A ParticleSet
object
The path of the folder where the particle sets should be written
The stub for the file name, that will be used as a prefix for the exported particle sets
Particle sets files are written in the desired location
data("candidate.platelets")
if (FALSE) export.particles(candidate.platelets)