I use the code below to plot, but have some difficulties.
par(mfrow=c(2,5))
par(mar=c(2,1,1,0), oma=c(4,4,.5,.5))
plot(DF1$var1,DF1$A)
plot(DF1$var2,DF1$A, ylab=F); plot(DF1$var3,DF1$A,ylab=F);
plot(DF1$var4,DF1$A, ylab=F); plot(DF1$var5,DF1$A,ylab=F)
plot(DF2$var1,DF2$A)
plot(DF2$var2,DF2$A, ylab
Hi R users,
I have a question about plotting. The following two datasets are an
example. What I have in mind is like the attached figure, but just have two
rows, top row is for DF1, bottom row is for DF2. The top and bottom rows,
have x-axis as var1, var2, var3, etc, while the y-axis represents A.
2 matches
Mail list logo