mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +00:00
Typo fix
This commit is contained in:
parent
31c54d53be
commit
83f66dadfd
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ dyplot.prophet <- function(x, fcst, uncertainty=TRUE,
|
||||||
df <- df_for_plotting(x, fcst)
|
df <- df_for_plotting(x, fcst)
|
||||||
|
|
||||||
# build variables to include, or not, the uncertainty data
|
# build variables to include, or not, the uncertainty data
|
||||||
if(uncertainty && x$uncertainty.sampes && exists("yhat_lower", where = df))
|
if(uncertainty && x$uncertainty.samples && exists("yhat_lower", where = df))
|
||||||
{
|
{
|
||||||
colsToKeep <- c('y', 'yhat', 'yhat_lower', 'yhat_upper')
|
colsToKeep <- c('y', 'yhat', 'yhat_lower', 'yhat_upper')
|
||||||
forecastCols <- c('yhat_lower', 'yhat', 'yhat_upper')
|
forecastCols <- c('yhat_lower', 'yhat', 'yhat_upper')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue