27 lines
573 B
R
27 lines
573 B
R
% Generated by roxygen2: do not edit by hand
|
|||
|
|
% Please edit documentation in R/methods.R
|
||
|
|
\name{is_ready}
|
||
|
|
\alias{is_ready}
|
||
|
|
\alias{is_ready.wickra_indicator}
|
||
|
|
\title{Whether an indicator has consumed enough input to emit a value}
|
||
|
|
\usage{
|
||
|
|
is_ready(object)
|
||
|
|
|
||
|
|
\method{is_ready}{wickra_indicator}(object)
|
||
|
|
}
|
||
|
|
\arguments{
|
||
|
|
\item{object}{A \code{wickra_indicator}.}
|
||
|
|
}
|
||
|
|
\value{
|
||
|
|
A single logical.
|
||
|
|
}
|
||
|
|
\description{
|
||
|
|
Not available for the alt-chart bar builders, which have no warmup.
|
||
|
|
}
|
||
|
|
\examples{
|
||
|
|
sma <- Sma(3)
|
||
|
|
is_ready(sma) # FALSE
|
||
|
|
for (x in c(1, 2, 3)) update(sma, x)
|
||
|
|
is_ready(sma) # TRUE
|
||
|
|
}
|