R语言beginr包 plothist函数使用说明

返回R语言beginr包函数列表


功能\作用概述:

绘制用户自定义的历史


语法\用法:

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 : 数字向量

mybreaks : 性格

myxlim : 数字

myylim : 数字

eightlines : 符合逻辑的

eightdigit : 数字

eightcex : 数字

eightcolors : 颜色

mylegend : 性格

myxlab : 性格

return_df : 逻辑

show_n : 符合逻辑的

show_skewness : 符合逻辑的

show_density : 逻辑的

show_normline : 符合逻辑的

x : 绘制曲线的矢量


示例\实例:

plothist(rnorm(10000))