If I am right, the original version was a sinusoidally-modulated (nonstationary) Bernoulli process. I want 3 possible values, not 2, which makes it a "Bernoulli scheme" http://en.wikipedia.org/wiki/Bernoulli_scheme
Not sure how to the create a sinusoidally modulated Bernoulli scheme with values 0, 0.5, 1. Bill ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.