multiple plots with the same x axis but different y axes ggplot2

How can I change to a grid with 4 columns and 3 rows?

ggplot(data, aes(x = Ano, y = valor)) + geom_line(aes(color = variavel)) +
facet_grid(valor~variavel) + theme(legend.position = "none")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.