mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-18 21:21:22 +00:00
21 lines
446 B
R
21 lines
446 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/diagnostics.R
|
|
\name{rolling_mean}
|
|
\alias{rolling_mean}
|
|
\title{Compute a rolling mean of x}
|
|
\usage{
|
|
rolling_mean(x, w)
|
|
}
|
|
\arguments{
|
|
\item{x}{Array.}
|
|
|
|
\item{w}{Integer window size (number of elements).}
|
|
}
|
|
\value{
|
|
Rolling mean of x with window size w.
|
|
}
|
|
\description{
|
|
Right-aligned. Padded with NAs on the front so the output is the same
|
|
size as x.
|
|
}
|
|
\keyword{internal}
|