> require(tseries) > ?runs.test Also, take a look at dieharder, it implements a large number of randomness tests: http://www.phy.duke.edu/~rgb/General/dieharder.php
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Park, > Kyong H Mr ECBC > Sent: Thursday, December 27, 2007 11:05 AM > To: 'r-help@r-project.org' > Subject: [R] A function for random test based on longest run > (UNCLASSIFIED) > > Classification: UNCLASSIFIED > Caveats: NONE > > Hello, R users, > > Has anybody written a function for random test based on the length of > longest run of same events. I really appreciate your help. > > Kyong Park > Classification: UNCLASSIFIED > Caveats: NONE > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > ______________________________________________ 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.