Display Multiple Histograms in the same Panel using Graphics R -
i trying print multiple histograms in same window in r. using r studio. can use built in graphics package. have been unable find solution problem on here already.
i trying create histograms of iris data set.
for example:
one histogram sepal width, sepal length, , on.
thanks!
as backlin commented above, can use par() function , mfrow option control subplots:
par(mfrow=c(2,2)) hist(iris$sepal.width) hist(iris$sepal.length) hist(iris$petal.width) hist(iris$petal.length)
Comments
Post a Comment