Help Forum

Help requested posted on 5th September 2019:

R code examples

I'm putting together a course in R, and I'm looking for examples of common analytical tasks for GB road safety analysts (e.g., using STATS19 to make tables, etc.) and how they can be dealt with in R. Would people be able to offer me any ideas? I'll write the code, and we will be putting it free on the web in due course. Thanks

Ivo Wengraf

Reply to this request


Response posted on 7th September 2019 by:
Jim Uttley

E: j.uttley@sheffield.ac.uk
T:

R code examples

Hi Ivo,

I recently did some analysis of STATS19 data using R to look at the collision risk for young drivers at night, compared with older drivers. A description of this analysis is available on my website here: https://www.jimuttley.co.uk/post/young_drivers_risk_night/young_driver_night_risk/

The R code used for the analysis is available on Github here: https://github.com/JimUttley/STATS19_analysis/blob/master/Young_drivers_risk.R

I don't claim to be a real expert in R though so there are no doubt many improvements that could be made to my code!

I hope this is useful, if I can help any further feel free to get in touch.

Thanks,

Jim Uttley


Response posted on 8th September 2019 by:
Andrew

E: andrew.pine86@outlook.com
T:

R code examples

Hi Ivo,
I've been interested in R for a while. Is there anywhere we can subscribe to be notified of the R Course you are developing?
-Andrew


Post a response to the above help request by completing the form below:

Your name
Your email
Your telephone (optional)
Subject
My response is:
Captcha: