Ich finde diese Variable ein wenig verwirrend, zum Beispiel aus der Dokumentation:..level .. in ggplot2 Konturplot
require(ggplot2)
require(reshape2)
volcano3d <- melt(volcano)
names(volcano3d) <- c("x", "y", "z")
v <- ggplot(volcano3d, aes(x, y, z = z))
v1 = v + stat_contour(aes(colour=..level..,size=..level..))
Warum kann ich nicht verwenden diese:
v2 = v + stat_contour(aes(colour=as.factor(z),size=as.factor(z)))