| Bikeshare | R Documentation |
This data set contains the hourly and daily count of rental bikes between years 2011 and 2012 in Capital bikeshare system, along with weather and seasonal information.
Bikeshare
A data frame with 8645 observations on a number of variables.
seasonSeason of the year, coded as Winter=1, Spring=2, Summer=3, Fall=4.
mnthMonth of the year, coded as a factor.
dayDay of the year, from 1 to 365
hrHour of the day, coded as a factor from 0 to 23.
holidayIs it a holiday? Yes=1, No=0.
weekdayDay of the week, coded from 0 to 6, where Sunday=0, Monday=1, Tuesday=2, etc.
workingdayIs it a work day? Yes=1, No=0.
weathersitWeather, coded as a factor.
tempNormalized temperature in Celsius. The values are derived via (t-t_min)/(t_max-t_min), t_min=-8, t_max=+39.
atempNormalized feeling temperature in Celsius. The values are derived via (t-t_min)/(t_max-t_min), t_min=-16, t_max=+50.
humNormalized humidity. The values are divided to 100 (max).
windspeedNormalized wind speed. The values are divided by 67 (max).
casualNumber of casual bikers.
registeredNumber of registered bikers.
bikersTotal number of bikers.
The UCI Machine Learning Repository https://archive.ics.uci.edu/ml/datasets/bike+sharing+dataset
James, G., Witten, D., Hastie, T., and Tibshirani, R. (2021) An Introduction to Statistical Learning with applications in R, Second Edition, https://www.statlearning.com, Springer-Verlag, New York
lm(bikers~hr, data=Bikeshare)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.