mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-17 08:40:56 +00:00
R manual update
This commit is contained in:
parent
612934695b
commit
b7a583ec63
2 changed files with 32 additions and 5 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
28
R/man/single_cutoff_forecast.Rd
Normal file
28
R/man/single_cutoff_forecast.Rd
Normal 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}
|
||||||
Loading…
Reference in a new issue