Learn R Programming

funFEM (version 1.2)

velib: The V<U+00E9>lib data set

Description

This data set contains data from the bike sharing system of Paris, called V<U+00E9>lib. The data are loading profiles of the bike stations over one week. The data were collected every hour during the period Sunday 1st Sept. - Sunday 7th Sept., 2014.

Usage

data(velib)

Arguments

Format

The format is:

- data: the loading profiles (nb of available bikes / nb of bike docks) of the 1189 stations at 181 time points.

- position: the longitude and latitude of the 1189 bike stations.

- dates: the download dates.

- bonus: indicates if the station is on a hill (bonus = 1).

- names: the names of the stations.

References

The data were first used in C. Bouveyron, E. C<U+00F4>me and J. Jacques, The discriminative functional mixture model for the analysis of bike sharing systems, Preprint HAL n.01024186, University Paris Descartes, 2014.

Examples

Run this code
# NOT RUN {
data(velib)
matplot(t(velib$data[1:5,]),type='l',lty=1,col=2:5,xaxt='n',lwd=2,ylim=c(0,1))
axis(1,at=seq(5,181,6),labels=velib$dates[seq(5,181,6)],las=2)
# }

Run the code above in your browser using DataLab