Displaying 2 results from an estimated 2 matches for "twoplots".
2010 Jan 18
1
variable name substitution
Hi everybody!
I'm trying to write a script to plot a histogram, a boxplot and a
qq-plot (under Windows XP, R2.10 if it matters)
What I want to do: define the variables (x and y) to be used at the very
beginning, so that I don't have to change all occurrences in the script
when I want to plot a different variable.
The dataset is called "ssfa". TO_POS is a categorical
1998 Mar 26
1
R-beta: multiplot using fig
I followed Bill Venables's suggestion and tried to make a multiplot figure
with fig (using R .62).
> x<-rnorm(100)
> y<-rnorm(100)
> x11()
> par(fig=c(0,2/3,0,1))
> plot(x,y)
> par(fig=c(2/3,1,0,1))
> qqnorm(x)
> postscript(file="twoplot.ps")
> par(fig=c(0,2/3,0,1))
> plot(x,y)
> par(fig=c(2/3,1,0,1))
> qqnorm(x)
However