Update chapter4.Rmd

heading chapter