fixed the template for tables and analysis.Rnw