Primary exercises
In the survey dataset add a new column
feet
with heights reported in feet unit (1 foot = 30.48 cm).In the survey dataset add a new column
diffWritingHandSpan
: the difference of span1 (writing hand) and span2 (non-writing hand).In the pulse dataset add new weight variables
pound
andstone
(1 kg = 2.20462 pound = 0.157473 stone).In the survey dataset convert the variables
smokes
from character to factor with levels {“never”,“occas”,“regul”, “heavy”}, in that order.