View source: R/series_de_tiempo.R
checar_datos | R Documentation |
Imprime un head de los datos y te pregunta si todo esta bien.
checar_datos(datos, frecuencia, inicio, msg = TRUE)
datos |
Data.Frame de 2 columnas, fecha y valores respectivamente. (se hace tratamiento de fechas con |
frecuencia |
Frecuencia de la serie de tiempo |
inicio |
Inicio de la serie de tiempo |
Ideal para usarse en las rutinas de TSRutina que deben preguntar si se interpretaron bien los datos.
Una lista list
que contiene dos elementos, la base de datos tratada y su versión en un objeto TimeSeries
base=data.frame(tiempo=seq(Sys.Date(),by="days",length=20),valores=(rexp(50)+1)*sin(1:50))
checar_datos(datos=base,frecuencia=4,inicio=2010)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.