mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-29 23:06:49 +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}
|
||||
\title{Convert date vector}
|
||||
\usage{
|
||||
set_date(ds = NULL, tz = "GMT")
|
||||
set_date(ds)
|
||||
}
|
||||
\arguments{
|
||||
\item{ds}{Date vector, can be consisted of characters}
|
||||
|
||||
\item{tz}{string time zone}
|
||||
\item{ds}{Date vector}
|
||||
}
|
||||
\value{
|
||||
vector of POSIXct object converted from date
|
||||
}
|
||||
\description{
|
||||
Convert the date to POSIXct object
|
||||
Convert the date to POSIXct object. Timezones are stripped and replaced
|
||||
with GMT.
|
||||
}
|
||||
\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