d
mtq link d
mtq_link north = TRUE,
a scale = 5)
i j a
Proportional Symbols Links layers can be Sources,
5 km
a b Author
propSymbolsLayer(x = mtq, var = "myvar", used by *LinkLayer().
inches = 0.1, symbols = "circle")
b
a c b Figure Dimensions
d c Get figure dimensions based on the dimension ratio of a spatial object,
c c figure margins and output resolution.
f_dim <- getFigDim(x = sf_obj, width = 500,
Colorized Proportional Symbols (relative data) Polygons to Borders mar = c(0,0,0,0))
propSymbolsChoroLayer(x = mtq, var = "myvar",
mtq_border <- getBorders(x = mtq) png("fig.png", width = 500, height = f_dim[2])
var2 = "myvar2")
par(mar = c(0,0,0,0))
Borders layers can be used by plot(sf_obj, col = "#729fcf")
discLayer() function dev.off()
Colorized Proportional Symbols (qualitative data)
propSymbolsTypoLayer(x = mtq, var = "myvar", default controled ratio
var2 = "myvar2")
Population
84174
Double Proportional Symbols Polygons to Pencil Lines
40589 propTrianglesLayer(x = mtq, var1 = "myvar",
mtq_pen <- getPencilLayer(x = mtq) b
var2 = "myvar2")
12725
583 f_dim[2]
OpenStreetMap Basemap (see rosm package)
Legends
tiles <- getTiles(x = mtq, type = "osm") a
tilesLayer(tiles)
Classification legendChoro()
a / b == f_dim[1] / f_dim[2] f_dim[1]