Answers for "How to use par() in R"

R
0

How to use par() in R

#define plot area as three rows and one column
par(mfrow = c(3, 1))    

#create plots
plot(1:5, pch=19, col='red')
plot(1:10, pch=19, col='blue')
plot(1:20, pch=19, col='green')
Posted by: Guest on January-20-2022

Browse Popular Code Answers by Language