Skip to content

Commit 7bc6473

Browse files
authored
Update dyplot.prophet in plot.R (#2665)
1 parent 700a74e commit 7bc6473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/R/plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ dyplot.prophet <- function(x, fcst, uncertainty=TRUE,
470470
forecastCols <- c('yhat')
471471
}
472472
# convert to xts for easier date handling by dygraph
473-
dfTS <- xts::xts(df %>% dplyr::select_(.dots=colsToKeep), order.by = df$ds)
473+
dfTS <- xts::xts(df %>% dplyr::select(.dots=colsToKeep), order.by = df$ds)
474474

475475
# base plot
476476
dyBase <- dygraphs::dygraph(dfTS, ...)

0 commit comments

Comments
 (0)