- 1. Re: Weird class/method bug/feature? (score: 1)
- Author: tre@nps.navy.mil>
- Date: Fri, 10 Aug 2001 13:12:31 +1000
- Hm. Very subtle. If you change the dummy argument of print.thang from thing to x, the function will work properly. I seem to remember somethang about generic functions having to have an argument name
- /archives/html/s-news/2001-08/msg00082.html (11,235 bytes)
- 2. Re: combine duplicated rows in a big data set (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Mon, 9 Jul 2001 09:54:45 +1000
- See attachments. Nick Ellis CSIRO Marine Research mailto:Nick.Ellis@marine.csiro.au PO Box 120 ph +61 (07) 3826 7260 Cleveland QLD 4163 fax +61 (07) 3826 7222 Australia http://www.marine.csiro.au To:
- /archives/html/s-news/2001-07/msg00045.html (13,020 bytes)
- 3. Re: Generating random real numbers (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Wed, 4 Apr 2001 16:06:11 +1000
- Simply use rejection sampling, rejecting any values lying outside the range [a,b]. Then the sample will be from a distribution that is proportional to the normal distribution on [a,b] and zero outsid
- /archives/html/s-news/2001-04/msg00034.html (16,691 bytes)
- 4. deriv vs deriv3 (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Wed, 14 Feb 2001 13:59:47 +1000
- D. M. Smith's deriv3() generates a function that returns an object containing a gradient attribute. The original deriv() also generates a gradient, but only if the following condition is satisfied if
- /archives/html/s-news/2001-02/msg00120.html (9,389 bytes)
- 5. RE: [S] Subsetting with is.element or match (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Thu, 6 Jul 2000 10:38:20 +1000
- You missed out an important comma! This should work: test.frame <- big.frame[is.element(big.frame$zone , small.frame$zone), ] BTW match and is.element are not synonymous. Each are called like this:
- /archives/html/s-news/2000-07/msg00023.html (11,366 bytes)
- 6. RE: [S] greek letters in axis labels with mtext (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Wed, 28 Jun 2000 10:35:54 +1000
- Bruce's 'kludge' (see below) is device dependent. font=8 works with windows metafile format, but for a postscript device you need font=13. For a graphsheet window I found the greek always prints hori
- /archives/html/s-news/2000-06/msg00206.html (13,842 bytes)
- 7. RE: [S] Hilbert transform (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Fri, 14 Apr 2000 10:18:52 +1000
- There is an fft function, so you can do the Hilbert transform by hand as follows. x<-seq(0,2*pi,len=129)[-129] y<-cos(2*x) n <- length(x) hilb <- c(1,rep(-1i,n/2-1),1,rep(1i,n/2-1)) yhilb <- fft(hil
- /archives/html/s-news/2000-04/msg00137.html (11,877 bytes)
- 8. RE: [S] Finding most closely matching element (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Tue, 18 Jan 2000 10:26:05 +1000
- I don't see why you can't use Alan and Frank's method twice to get indices for the x's and y's separately. Since it is a reference set of points, you can easily relate the indices of the separate co
- /archives/html/s-news/2000-01/msg00109.html (11,907 bytes)
- 9. RE: [S] Finding most closely matching element (score: 1)
- Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
- Date: Tue, 18 Jan 2000 10:41:49 +1000
- Oh dear, I see my error now. Using Alan and Frank's method twice only works for a full rectangular grid of points, not Bill's coastline example. Sorry folks. Nick Ellis -- This message was distribute
- /archives/html/s-news/2000-01/msg00110.html (8,483 bytes)
- 10. Re: [S] Splus 4.0 question (score: 1)
- Author: Nick Ellis <Nick.Ellis@marine.csiro.au>
- Date: Mon, 15 Jun 1998 12:35:45 +1000
- I had a similar problem and I'm not sure if I ever really understood what was going on. I found that Splus would hang if I rebooted the machine; I had to uninstall and reinstall the software to get i
- /archives/html/s-news/1998-06/msg00094.html (8,857 bytes)
- 11. [S] Image colors in graphics (score: 1)
- Author: Nick.Ellis@marine.csiro.au
- Date: Fri, 08 May 1998 10:45:35 +1000
- Dear S people, I sent this message a few weeks ago, but there was some lively discussion on the list about a much more interesting topic, so I didn't get any takers! I'm using Splus version 4.0 Relea
- /archives/html/s-news/1998-05/msg00061.html (8,744 bytes)
- 12. [S] Image colors in graphsheets (score: 1)
- Author: Nick.Ellis@marine.csiro.au
- Date: Wed, 25 Mar 1998 14:36:06 +1000
- Dear S people, I'm using Splus version 4.0 Release 3 for Windows NT and getting very confused with colour schemes. First: the Edit Color window under the Image Color tab in Options|Color Schemes. Can
- /archives/html/s-news/1998-03/msg00260.html (8,506 bytes)
This search system is powered by
Namazu