--- output: pdf_document: highlight: pygments html_document: default params: lsg: TRUE --- ## Too easy? ### a) Loading Load the dataset. You might use ```{r, echo=TRUE, eval=TRUE} df = read.csv('https://raw.githubusercontent.com/tensorchiefs/data/main/data/sbp.csv') ``` ### b) Average age Calculate the average age of the participants. ```{r, echo=params$lsg, eval=params$lsg} mean(df$x) ```