minor changes to examples to pass rownames in lm