Message-ID: <F5AB27C222D4164382737207F9869F2B51FDEB5854@LONMC01014.rbsres07.net>
Date: 2008-09-18T15:18:55Z
From: Rory.WINSTON at rbs.com
Subject: Spectrum of a kernel
In-Reply-To: <20080917122007.PP0XW.10519.root@mp16>
Maybe something like:
k <- kernel(...)
spectrum(c(rev(k$coef),k$coef))
Since the kernel is symmetric?
Rory Winston
RBS Global Banking & Markets
Office: +44 20 7085 4476
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of rkevinburton at charter.net
Sent: 17 September 2008 17:20
To: r-help at r-project.org
Subject: [R] Spectrum of a kernel
For purely educational purposes I would like to see the spectrum of a kernel. I tried:
spectrum(kernel("daniell", 100), taper=0, log="no")
but I get:
Error in complete.cases(object) : not all arguments have the same length
I can plot the kernel but that is only in the time-domain. I would like to see the spectrum of the kernel. Any ideas?
Kevin
______________________________________________
R-help at 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.
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority
This e-mail message is confidential and for use by the=2...{{dropped:22}}