plot.iNZightMapPlot | R Documentation |
Plot an iNZightMapPlot
## S3 method for class 'iNZightMapPlot'
plot(
x,
colour.var = NULL,
size.var = NULL,
alpha.var = NULL,
size.const = 1,
alpha.const = 1,
multiple.vars = FALSE,
main = NULL,
xlab = "Longitude",
ylab = "Latitude",
axis.labels = TRUE,
datum.lines = TRUE,
darkTheme = NULL,
projection = "Default",
palette = NULL,
aggregate = FALSE,
current.seq = NULL,
sparkline.type = "Absolute",
scale.limits = NULL,
regions.to.plot = NULL,
keep.other.regions = TRUE,
label.var = NULL,
scale.label = 1,
scale.axis = 1,
per.n = 1000,
...
)
x |
iNZightMapPlot object |
colour.var |
Variable to colour the regions or points by |
size.var |
If plotting a map of points, a variable to scale the points by |
alpha.var |
If plotting a map of points, a variable to opacify the points by |
size.const |
Size of plotted points (ignored if plotting regions or |
alpha.const |
Alpha value of the underlying region map when plotting points |
multiple.vars |
Are multiple variables being plotted? |
main |
Main title for the plot |
xlab |
x-axis label |
ylab |
y-axis label |
axis.labels |
Should the x- and y-axis labels be plotted |
datum.lines |
Should the datum lines be plotte |
darkTheme |
Enable dark background |
projection |
Either |
palette |
Palette to use |
aggregate |
Is the plot an aggregate |
current.seq |
Current value of the sequence variable or aggregation |
sparkline.type |
Either |
scale.limits |
Limits for the legend scale |
regions.to.plot |
Which regions should be plotted? |
keep.other.regions |
If |
label.var |
Variable to label regions by |
scale.label |
Scaling factor for region labels |
scale.axis |
Scaling factor for title, axis labels, legend, etc. |
per.n |
For dot density maps: how many people should each dot represent? |
... |
additional arguments (ignored) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.