Newer version - no principal change in the code, but this time generated with outputs of the commands. New files are 

pml1.RMD
pml1.html