R语言使用ggplot2包的geom_histogram函数可视化直方图(histogram plot)
目录
R语言使用ggplot2包的geom_histogram函数可视化直方图(histogram plot)
R语言使用ggplot2包的geom_histogram函数可视化直方图(histogram plot)
仿真数据
df<-read.csv("Facet_Data.csv", header = TRUE)
head(df)
str(df)
> df<-read.csv("Facet_Data.csv", header = TRUE)
>
> head(df)
age tau Class SOD male
1 0.9876238 6.297754 Control 5.609472 0
2 0.9866667 6.270988 Control 5.723585 1
3 0.9867021 6.152733 Control 5.771441 0
4 0.9871630 6.623707 Control 5.655992 0
5 0.9854651 5.740789 Control 5.509388 1
6 0.9862637 4.871603 Control 4.532599 1
>
> str(df)
'data.frame':