plot: Plot biker output

Description Usage Arguments Value See Also Examples

Description

Plot biker output

Usage

1
plot(x, time_grid, ...)

Arguments

x

Output from the fit function

time_grid

An optional time grid over which to produce fitted values of the model

...

Other arguments to plot (not currently implemented)

Value

Nothing: just a nice plot

See Also

loadBikes, fit

Examples

1
2
3
4
5
6
7
ans1 = loadBikes('26Jul2017-31Jul2017')
ans2 = fit(ans1, data_type = 'hourlyRentals', fit_type = 'smooth.spline')
plot(ans2)
ans3 = fit(ans1, data_type = 'hourlyRentals', fit_type = 'loess')
plot(ans3)
ans4 = fit(ans1, data_type = 'dailyRentals', fit_type = 'loess')
plot(ans4)

OzzieBelazi/advRProject documentation built on May 8, 2019, 11:47 a.m.