Skip to content
Prev 38406 / 398500 Next

using split.screen() in Sweave

Dear R and sweave users

A further problem, which I couldn't resolve, using the manual: In R I
use the split.screen command to put e.g. two timecourses one above the
other into one plot:

split.screen(c(2,1))
screen(1)
plot(stick,type='h', col="red",lwd=2)
screen(2)
plot(deconvolution.amplitude,type='h',col="blue",lwd=2)

Is there a similar way, doing this in Sweave?

many thanks

Christoph