- 1. RE: simulation (score: 1)
- Author: ASinclair@edfman.co.uk
- Date: Fri, 17 Nov 2000 16:17:13 -0000
- How about Ntrials <- 100 trials <- sapply(1:Ntrials, function(trialnumber) sum(runif(1000,0,1) < .01) ) This is pretty quick on my machine, about 15 seconds for Ntrials = 10000. The tapply method whi
- /archives/html/s-news/2000-11/msg00173.html (10,236 bytes)
- 2. loading libraries / problem using .S.init (score: 1)
- Author: ASinclair@edfman.co.uk
- Date: Wed, 29 Nov 2000 10:04:22 -0000
- Another option in Splus 5 is to have a text file called .S.init in your home (login) directory. For this example it would just contain the line: library(MASS) According to the "green book" (Chambers,
- /archives/html/s-news/2000-11/msg00229.html (9,833 bytes)
- 3. [S] ESACF (score: 1)
- Author: "Sinclair, Andrew(MIP London)" <ASinclair@edfman.co.uk>
- Date: Fri, 4 Jun 1999 10:11:10 +0100
- Has anybody coded up the Extended Sample Autocorrelation Function (ESACF), preferably in Splus ? Or had any experience of its practical usage in ARMA model selection ? [ The ESACF is discussed in sec
- /archives/html/s-news/1999-06/msg00030.html (7,127 bytes)
- 4. [S] computing tied ranks (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 14 Apr 1999 14:24:00 +0100
- Floating point equality is a subject which has appeared a few times on s-news, and I have been wondering if there is a better solution. Surely one could modify the "==" operator so that it behaves "m
- /archives/html/s-news/1999-04/msg00124.html (10,751 bytes)
- 5. Re: [S] computing tied ranks (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 14 Apr 1999 16:49:00 +0100
- I was unaware of all.equal. It does what I meant, although it would not be very convenient to use regularly since it is roughly equivalent to all(x==y) ie does not return a vector answer when used wi
- /archives/html/s-news/1999-04/msg00127.html (10,093 bytes)
- 6. [S] Tests for Normality (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Thu, 5 Nov 1998 18:48:00 +0000
- Does anyone know of code/ references for tests of normality ? I am aware of qqnorm plots, Kolmogorov Smirnoff and chi squared goodness of fit tests. I need procedures that give a specific p-values, a
- /archives/html/s-news/1998-11/msg00021.html (7,451 bytes)
- 7. [S] Summary : Tests for Normality (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Tue, 10 Nov 1998 10:37:00 +0000
- Thanks for the very helpful suggestions, and in some cases code, got to (in no particular order) : Mark Salmon, Richard Lockhart, Kenneth Butler, Don McKenzie, Viswanath Devanarayan, David J Cummins
- /archives/html/s-news/1998-11/msg00036.html (8,849 bytes)
- 8. [S] delimiting strings (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 21 Oct 1998 12:38:00 +0100
- d
- /archives/html/s-news/1998-10/msg00131.html (7,795 bytes)
- 9. [S] delimiting strings - thanks (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 21 Oct 1998 16:46:00 +0100
- e
- /archives/html/s-news/1998-10/msg00136.html (7,700 bytes)
- 10. [S] strings containing "\" (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Thu, 13 Aug 1998 16:37:00 +0100
- I have a problem that when I try to define a string with a backslash followed by a dot in it, the backslash is taken to be escape'ing the following character. So for example a <- "\." ## backslash do
- /archives/html/s-news/1998-08/msg00093.html (7,776 bytes)
- 11. [S] strings containing "\" (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Thu, 13 Aug 1998 18:10:00 +0100
- Thanks for the help. In a very short time I've got the answer, from Sam Buttrey. He points out that I already had the answer, but couldn't see it for looking ! Sam explains more clearly than I could,
- /archives/html/s-news/1998-08/msg00097.html (8,539 bytes)
- 12. [S] prevention of releasing BATCH mode p (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Mon, 6 Jul 1998 16:50:00 +0100
- Does anyone know if it is possible to use Splus BATCH in UNIX in such a way that the process does NOT automatically release itself ? By that I mean that if I enter Splus BATCH infile outfile at the c
- /archives/html/s-news/1998-07/msg00047.html (7,817 bytes)
- 13. Summary : [S] prevention of releasing BA (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Tue, 7 Jul 1998 12:41:00 +0100
- Many thanks to all those who made suggestions - due to the number of replies I hope nobody minds if I don't mention names. There were three distinct suggestions : (1) The most common suggestion was c
- /archives/html/s-news/1998-07/msg00056.html (7,852 bytes)
- 14. [S] trellis postscript file from within (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Tue, 7 Jul 1998 13:29:00 +0100
- I am trying to produce trellis plots as postscript files from within a loop, with spectacular (& frustrating) lack of success. Can anyone help ? e.g. for ( i in 1:1) { postscript(file="test1.ps", pri
- /archives/html/s-news/1998-07/msg00057.html (7,793 bytes)
- 15. [S] :SUMMARY trellis postscript file fr (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 8 Jul 1998 10:12:00 +0100
- Thanks to all those who once again replied so swiftly and helpfully - what a wonderful group ! The answer to my question is to put "print()" around the trellis plotting command. ie instead of having
- /archives/html/s-news/1998-07/msg00068.html (7,351 bytes)
- 16. [S] : nls() convergence criteria (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Thu, 23 Jul 1998 13:17:00 +0100
- Dear S-newsers, I am having trouble with obtaining convergence of the nls() routine . The routine appears to reach a solution (or rather it looks good enough for me....) but its converence criteria d
- /archives/html/s-news/1998-07/msg00155.html (14,406 bytes)
- 17. [S] suppressing "Lines out of bounds" me (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 20 May 1998 12:50:00 +0100
- 4
- /archives/html/s-news/1998-05/msg00180.html (7,699 bytes)
- 18. [S] SUMMARY suppressing "Lines out of bo (score: 1)
- Author: "sinclair, andrew (MIP London)" <asinclair@edfman.co.uk>
- Date: Wed, 20 May 1998 16:13:00 +0100
- e
- /archives/html/s-news/1998-05/msg00181.html (7,645 bytes)
This search system is powered by
Namazu