Р: Как мне создать грид-графику?

Goal

enter image description here

Code

require(lattice)

png('my_typing.png')
par(mfrow=c(2,1))

read.csv('race_data.csv')->sol
plot(sol$Race.., sol$WPM*sol$Accuracy, type='l')

# TODO: it wrongly substitutes the plot with levelplot
# TODO: I want two plots one below another, plot and then levelplot below
levelplot(cor(sol[1:5]))

Helper questions

How can I plot the normal plot and the special plot together in one PNG -file?

Should I combine different plotting -packages such as lattice and grid to base?

Ответы на вопрос(2)

Ваш ответ на вопрос