Displaying 2 results from an estimated 2 matches for "singleplot".
Did you mean:
singlefloat
2008 Feb 14
4
plot each column of a matrix or dataframe versus x in a single plot
How do a plot several columns of a matrix at once in a single plot
versus a single x-variable?
The default plot.matrix or plot.dataframe commands plot each column
versus each other column in several sub-plots. I want to plot each
column versus a single other vector (x) as several lines or points in
one plot.
I can do it by hand: get the range of all variables (i.e. columns of
the matrix or
2002 Aug 07
2
Constructing titles from list of expressions
...<- var.names
schaetz <- predict(x.lm, as.data.frame(extremum), interval="confidence", level
=conf.level)
result <- list(prognose=schaetz[1], conf.interval=schaetz[-1], conf.level=conf
.level)
# Graphen zeichnen
old.pty <- par()$pty
par(pty="s", ask=T)
if (singleplot) layout(matrix(1:4,ncol=2))
for (i in 3:1) {
x <- seq(from=ranges[-i,][1,1], to=ranges[-i,][1,2], length=n)
y <- seq(from=ranges[-i,][2,1], to=ranges[-i,][2,2], length=n)
pred.dat <- matrix(NA, ncol=3, nrow=n^2)
pred.dat[,i] <- rep(as.numeric(extremum[var.names[i]]),n^...