Posts by Paulo Cardoso • 170 points
2 posts
-
1
votes2
answers3637
viewsA: How to fix the x-axis boundaries in ggplot?
Or if x values can be taken as discrete starting: g <- ggplot(dados, aes(x=factor(ano), y = k, group = 1)) g + geom_point() + geom_line() + labs(list(x='ano', y='k'))…
-
6
votes2
answers1065
viewsA: Object orientation in R: S3, S4 and Reference Class
I suggest reading some very enlightening texts on the question that has been asked: Documents A Tutorial of U. Berkeley; Content produced by Hadley W. Advanced R; Manuals of the CRAN project About…