Learn R Programming

tsapp (version 1.0.4)

perwinpa: perwinpa Parzen's window for direct spectral estimation

Description

perwinpa Parzen's window for direct spectral estimation

Usage

perwinpa(e, n)

Arguments

e

equal bandwidth (at most n frequencies are used for averaging)

n

length of time series

Value

w weights (symmetric)

Examples

Run this code
# NOT RUN {
data(WHORMONE)
w <- perwinpa(0.1,length(WHORMONE)) 

# }

Run the code above in your browser using DataLab