R manual update

This commit is contained in:
Ben Letham 2021-03-04 17:17:51 -08:00
parent 612934695b
commit b7a583ec63
2 changed files with 32 additions and 5 deletions

View file

@ -4,17 +4,16 @@
\alias{set_date} \alias{set_date}
\title{Convert date vector} \title{Convert date vector}
\usage{ \usage{
set_date(ds = NULL, tz = "GMT") set_date(ds)
} }
\arguments{ \arguments{
\item{ds}{Date vector, can be consisted of characters} \item{ds}{Date vector}
\item{tz}{string time zone}
} }
\value{ \value{
vector of POSIXct object converted from date vector of POSIXct object converted from date
} }
\description{ \description{
Convert the date to POSIXct object Convert the date to POSIXct object. Timezones are stripped and replaced
with GMT.
} }
\keyword{internal} \keyword{internal}

View file

@ -0,0 +1,28 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{single_cutoff_forecast}
\alias{single_cutoff_forecast}
\title{Forecast for a single cutoff.
Used in cross_validation function when evaluating for multiple cutoffs.}
\usage{
single_cutoff_forecast(df, model, cutoff, horizon.dt, predict_columns)
}
\arguments{
\item{df}{Dataframe with history for cutoff.}
\item{model}{Prophet model object.}
\item{cutoff}{Datetime of cutoff.}
\item{horizon.dt}{timediff forecast horizon.}
\item{predict_columns}{Array of names of columns to be returned in output.}
}
\value{
Dataframe with forecast, actual value, and cutoff.
}
\description{
Forecast for a single cutoff.
Used in cross_validation function when evaluating for multiple cutoffs.
}
\keyword{internal}