Learn R Programming

psd (version 2.1.2)

riedsid_rcpp: replaces time consuming portion of riedsid2

Description

replaces time consuming portion of riedsid2

Usage

riedsid_rcpp(PSD, ntaper, riedsid_column = 0L)

Value

kopt vector

Arguments

PSD

vector or class 'amt' or 'spec'; the spectral values used to optimize taper numbers

ntaper

scalar or vector; number of tapers to apply optimization

riedsid_column

scalar integer; which column to use in multivariate optimization. If the value is 0 the maximum number of tapers for all columns is chosen. If the value is < 0 the minimum number of tapers for all columns is chosen. If the value is 1, 2, 3, etc. the number of tapers is based on the column selected.