Plot a user-customized hist
plothist(data = rnorm(1000), mybreaks = "Sturges", myxlim = NULL, myylim = NULL, eightlines = TRUE, eightdigit = 0, eightcex = 0.8, eightcolors = c("red", "darkgreen", "blue", "black", "purple", "gold")[c(1, 2, 3, 2, 1, 6, 6, 5, 4, 5)], mylegend = "", myxlab = "", return_df = FALSE, show_n = TRUE, show_skewness = TRUE, show_density = FALSE, show_normline = FALSE, x)
data | a numeric vector |
---|---|
mybreaks | character |
myxlim | numeric |
myylim | numeric |
eightlines | logical |
eightdigit | numeric |
eightcex | numeric |
eightcolors | colors |
mylegend | character |
myxlab | character |
return_df | logic |
show_n | logical |
show_skewness | logical |
show_density | logcial |
show_normline | logical |
x | a vector for plotting the curve |
a hist plot