I am trying to make a plot with ggplot2, but I am struggling with geotag. Since I am using this geometry for the first time, I carefully looked at the Hadley documentation, but so far I have not been able to get what I am behind it. I want to adjust the width of the tile and the height of the tile. I found how to adjust the tile width in the documentation, but I am struggling with height. The following chart should be used as a starting point:
test <- data.frame(
x = rep(c(1,3,6),2),
y = rep(c(1,3), each = 3),
w = rep(c(.5,2,1), 2),
z = sample(rep(LETTERS[1:6])))
ggplot(test, aes(x=x, y=y, fill = z)) + geom_tile(aes(width = w))

. "" ( x = 1) 0 1, 1 4. 0 3 3 4. , 0 1,5 1,5 4. , :
test2 <- data.frame(
x = rep(c(1,3,6),2),
y = c(0, 0, 0, 1, 3, 1.5),
w = rep(c(.5,2,1), 2),
z = sample(rep(LETTERS[1:6])),
h = c(1, 3, 1.5, 3, 1, 2.5))
ggplot(test2, aes(x=x, y=y, fill = z)) + geom_tile(aes(width = w, heigth = h))
, .
. !