Hola,

  Estoy haciendo un gráfico con:

#############################################################################
## GRAFICO BARRAS : VALORES AL DEBE MENSUALIZADO
ggplot(Diario_S2, aes(x=mes_AAA, by = MES , y=ARS_DEB))+   # ASIGNAR
VARIABLES
        geom_bar(stat="identity", width=0.7,      # ANCHO BARRAS
                 colour="grey", fill="darkgreen", # ASPECTO (borde y
relleno)
                 position = "dodge")+
        scale_fill_brewer(palette = "paired")+  # PALETA DE COLORES
        labs(x="MESES",  y="IMPORTES EN ARS",color="Tipo")+  # TITULOS EJES
        ggtitle("VALORES AL DEBE POR MES")                   # TITULO
GRAFICO
#############################################################################

  El problema es que me està ordenando las barras por el mes alfabéticamente
,

 Los valores de X, son:

 [1] ENE FEB MAR ABR MAY JUN JUL AGO SEP OCT NOV DIC
Levels: ABR AGO DIC ENE FEB JUL JUN MAR MAY NOV OCT SEP

  El gráfico me está apareciendo ordenado alfabéticamente, según "Levels" y
necesito que quede por meses, respetando el orden de los meses y no
ordenándolos alfabéticamente,

  Gracias,

  Jesús










_________________

*Jesús MARTÍN FRADE *
Skype:                jmfpas
Tel (celular):        (011) 154-946-2131 (Argentina)
                        (+54) 911-4946-2131 (Internacional)
Facebook http://www.facebook.com/jesusmartinfrade

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
Remitente
notificado con
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
22/09/20
21:50:58

        [[alternative HTML version deleted]]

_______________________________________________
R-help-es mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-help-es

Responder a