plothist: Plot a user-customized hist

Description Usage Arguments Value Examples

View source: R/beginr.R

Description

Plot a user-customized hist

Usage

1
2
3
4
5
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)

Arguments

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

Value

a hist plot

Examples

1
plothist(rnorm(10000))

beginr documentation built on May 6, 2019, 1:08 a.m.

Related to plothist in beginr...