# R-help to Exercise 3

 

# Read the data into R and look at the data:

speed=scan("http://www.uio.no/studier/emner/matnat/math/STK4900/v17/exer2.dat")

speed

 

 

# QUESTION a)

 

# Plot the data in various ways:

hist(speed)                    # histogram

plot(ecdf(speed))            #empirical distribution function

boxplot(speed)             # box plot