fix minor typos in window-functions.Rmd