27 lines
676 B
R
27 lines
676 B
R
% Generated by roxygen2: do not edit by hand
|
|||
|
|
% Please edit documentation in R/methods.R
|
||
|
|
\name{batch}
|
||
|
|
\alias{batch}
|
||
|
|
\alias{batch.wickra_indicator}
|
||
|
|
\title{Run an indicator over a whole series in one call}
|
||
|
|
\usage{
|
||
|
|
batch(object, ...)
|
||
|
|
|
||
|
|
\method{batch}{wickra_indicator}(object, ...)
|
||
|
|
}
|
||
|
|
\arguments{
|
||
|
|
\item{object}{A \code{wickra_indicator}.}
|
||
|
|
|
||
|
|
\item{...}{The input vector(s).}
|
||
|
|
}
|
||
|
|
\value{
|
||
|
|
A numeric vector the same length as the input.
|
||
|
|
}
|
||
|
|
\description{
|
||
|
|
Available for scalar indicators. The result is identical to feeding the same
|
||
|
|
inputs through \code{\link[=update]{update()}} one at a time, with \code{NA} at warmup positions.
|
||
|
|
}
|
||
|
|
\examples{
|
||
|
|
batch(Sma(3), c(1, 2, 3, 4, 5)) # NA NA 2 3 4
|
||
|
|
}
|