Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Convirtiendo la variable dia a factor para asi manipular el orden en que se debe visualizada la variable dia
d_historico$dia <- factor( x = d_historico$dia
, levels = c('Lunes','Martes','Miercoles','Jueves','Viernes', 'Sabado','Domingo')
# Opcional: Revisando la estructura del factor
str( object = d_historico$dia )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment