Primary exercises
In the survey dataset:
The variables
span1
andspan2
are of the same type representing the span of the writing hand and the non-writing hand respectively. We would like to analyse these values in groups. To do this we need to convert the variablesspan1
andspan2
into variablesspan
andsize
withspan
ranging over span1 and span2 andsize
over the values ofspan1
andspan2
variables.Reproduce the following plot: