knit the RMD following LM analysis