R/pcdpca.scores.R

Defines functions pcdpca.scores

Documented in pcdpca.scores

#' Compute periodically correlated DPCA scores, given the filters XI
#'
#' @param X multivariate time series
#' @param XI series of filters returned from pcdpca
#' @keywords pcdpca
#' @export
pcdpca.scores <- function(X, XI)
{
  period = XI$period
  Y = freqdom::filter.process(pc2stat(X,period=period), XI)
  stat2pc(Y,period=period,n=nrow(X))
}

Try the pcdpca package in your browser

Any scripts or data that you put into this service are public.

pcdpca documentation built on May 2, 2019, 3:38 p.m.