Kia ora Gina
If I understand you correctly, you need to specify mfrow argument as c(1,2) and
then make your two calls to plot(). HTH ...
Peter Alspach
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of gina patel
> Sent: Tues
Try something like this where we use the built in data frame anscombe:
opar <- par(mfrow = c(1, 2), no.readonly = TRUE)
matplot(1:11, anscombe[1:4], pch = 1:4, col = 1:4, log = "x", ylab = "Y")
matplot(1:11, anscombe[5:8], pch = 1:4, col = 1:4, log = "x", ylab = "Y")
par(opar)
On Mon, Feb 9, 200
2 matches
Mail list logo