- plot
- boxplot
- hist
# Get some data to plot data(iris) plot(iris$Sepal.Length)
To have a better idea of the distribution the function boxplot is really useful:
# one set boxplot(iris$Sepal.Length) # 2 sets boxplot(data.frame(iris$Sepal.Length, iris$Sepal.Width))Finally if you need more details on the distribution you will use hist:
hist(iris$Sepal.Length)




No comments:
Post a Comment