Exercise

Interval and ratio variables in R

R has no special way of dealing with interval and ratio variables. In fact, it's not necessary because you can just use plain old numeric values.

Instructions

100 XP

Review the examples in the script. The first example creates an interval variable called longitudes containing a vector of longitudes. The second example creates a ratio variable called chronos containing the times it takes for an athlete to run 100 meters.

Click "Submit Answer" once you understand how interval and ratio variables are expressed in R.