plothist {beginr}R Documentation

Plot a user-customized hist

Description

Plot a user-customized hist

Usage

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

plothist(rnorm(10000))

[Package beginr version 0.1.7 Index]