powered by
data(feld1)
mattress
room
logmattress
logroom
cat
no
yes
data(feld1) par(las = 1, mfrow = c(1, 2)) with(feld1, plot(mattress, room, col = as.numeric(cat))) with(feld1, plot(logmattress, logroom, col = as.numeric(cat)))
Run the code above in your browser using DataLab