samedi 24 septembre 2016

Picking primes to use for Halton Sequences in R

I'm trying to generate some two-dimensional Halton Sequences in R, and am using the randtoolsbox package. It seems as if this function defaults to choosing 2 and 3 as the prime bases, but I'd like to generate sequences using others. The documentation does not indicate (as far as I can tell) any way of setting this option.

Does anyone know of a way, using randtoolsbox or another package, of generating Halton Sequences in R based on user-chosen prime bases?




Aucun commentaire:

Enregistrer un commentaire