automobile example script updated with as.numeric