print_maps: Print maps

Description Usage Arguments Author(s) References See Also

View source: R/visualization.R

Description

This function creates maps for point metrics resulting from error propagation in geographically weighted regression

Usage

1
2
3
print_maps(data, spatialdataframe, print_file = TRUE, plot_original = TRUE,
  point_size = 2, inner_point_size = 0.8,
  fill_colors = rev(grey(0:20/20)), plot_border = TRUE)

Arguments

data

output from the function epgwr_mc

spatialdataframe

a SpatialPointsDataFrame or SpatialPolygonsDataFrame object as defined in package sp that will be used for plotting

print_file

TRUE (default) for creating .png images and saving them to disk, FALSE for just showing maps in R plot device one at a time

point_size

the size of the point when plotting SpatialPointDataFrame

inner_point_size

the size for the inner points used for original values

fill_colors

vector of colors used to fill the points/polygons; default is from white ot black (rev(grey(0:20 / 20))); first and last will be used for original points; needs at least 10 colors (otherwise they will be recycled)

plot_border

TRUE (default) for plotting black borders for points; FALSE is useful when there are lots of points

Author(s)

Jaakko Madetoja

References

Madetoja, J. (2018). Error propagation in geographically weighted regression. (Doctoral dissertation, Aalto University). Manuscript in preparation.

See Also

epgwr_mc, print_maps


jaakkomadetoja/epgwr documentation built on May 28, 2019, 8:57 p.m.