Displaying 2 results from an estimated 2 matches for "rfunc_function".
2008 Jul 26
1
S-PLUS code in R
...mail some hour ago about a matlab Code I was trying to
translate in R.
Actually I have found a simpler code originally written in S-PLUS for the
same function.
Author's page -> http://math.bu.edu/people/murad/methods/locwhitt/
=============================================================
rfunc_function(h, len, im, peri)
# h -- Starting H value for minimization.
# len -- Length of time series.
# im -- Use only len/im frequencies.
# peri -- Periodogram of data.
{
m <- len %/% im
peri <- peri[2:(m + 1)]
z <- c(1:m)
freq <- (2 * pi)/...
2008 Jul 25
0
s-plus in R... simpler code
...mail some hour ago about a matlab Code I was trying to
translate in R.
Actually I have found a simpler code originally written in S-PLUS for the
same function.
Author's page -> http://math.bu.edu/people/murad/methods/locwhitt/
=============================================================
rfunc_function(h, len, im, peri)
# h -- Starting H value for minimization.
# len -- Length of time series.
# im -- Use only len/im frequencies.
# peri -- Periodogram of data.
{
m <- len %/% im
peri <- peri[2:(m + 1)]
z <- c(1:m)
freq <- (2 * pi)/...