--- title: "HTML notebook" author: "Lucio Cornejo" date: "`r Sys.Date()`" params: anio: label: "Año" value: 1938 input: slider min: 1920 max: 1939 step: 1 file: label: "Data para analizar" value: temperaturas.xlsx input: file output: html_document: toc: true toc_float: collapsed: false theme: cerulean hightlight: tango pdf_document: toc: true latex_engine: xelatex --- ```{r cargar-data, include=FALSE} # Base de datos usada para crear el data frame "temperaturas": # nottem (Average Monthly Temperatures at Nottingham, 1920-1939) temperaturas <- readxl::read_excel(params$file) ####################################################### ``` ```{r escoger-anio,echo=FALSE} # Años posibles: 1920 a 1939 anio <- params$anio ################################################################################## ``` ## Año `r anio` ### Temperaturas mensuales promedio en _Nottingham_