Creates a plot of the area of isopleths in a LoCoH-hullset area
1 2 3 4 5 6 7 8 9 10 11 | lhs.plot.isoarea(lhs, id = NULL, k = NULL, r = NULL, a = NULL,
s = NULL, hs.names = NULL, sort.metric = NULL, iso.idx = NULL,
figs.per.page = 1, legend = TRUE, title = NULL,
title.show = TRUE, subtitle = TRUE, mar = c(3.3, 3.2, if
(title.show) (if (subtitle) 3.2 else 2.3) else 0.5, 0.5), mgp = c(2,
0.7, 0), png.fn = NULL, png.dir = NULL, png.dir.make = TRUE,
png.width = 800, png.height = png.width, png.pointsize = 12 +
(png.width - 480)/80, png.fn.pre = NULL, png.fn.suf = NULL,
png.overwrite = TRUE, panel.num = NULL,
panel.num.inside.plot = !title.show, bg = "white",
legend.space = if (legend) 0.05 else 0, ...)
|
lhs |
A LoCoH-hullset object |
id |
The id(s) of the individual(s) to include in the plot |
k |
A k-value for the number of nearest neighbors around each point to include in the plot |
r |
A r-value for the number of nearest neighbors around each point to include in the plot |
a |
A a-value for the number of nearest neighbors around each point to include in the plot |
s |
The s value(s) of nearest neighbor sets to include in the plot. If NULL, all values will be used |
hs.names |
The name(s) of saved hullsets to analyze |
sort.metric |
The name(s) of isopleth sort metrics to include in the plot |
iso.idx |
The indices of isopleths to include in the plot |
figs.per.page |
Number of plots per page |
legend |
Whether to include a legend. T/F. |
title |
The title to be displayed. Character. If NULL a title will be constructed. |
title.show |
Whether to show the title. T/F. |
subtitle |
Whether to add a subtitle to the automatically constructed title (when |
mar |
The plot margins. A four item numeric vector |
mgp |
The distance away from the edge of the plot for the 1) label, 2) tick marks, and 3) axis line. A three-item numeric vector |
png.fn |
A filename for a PNG file |
png.dir |
The directory for a PNG file (filename will be constructed automatically). Ignored if png.fn is passed |
png.dir.make |
Whether to create png.dir if it doesn't exist. T/F |
png.width |
The width of the PNG image |
png.height |
The height of the PNG image |
png.pointsize |
The pointsize (in pixels) for the PNG image, equivalent to the height or width of a character in pixels (increase to make labels appear larger) |
png.fn.pre |
A prefix that will be used in the construction of the PNG filename. Ignored if png.fn is passed. |
png.fn.suf |
A suffix that will be used in the construction of the PNG filename. Ignored if png.fn is passed. |
png.overwrite |
Whether to overwrite an existing PNG file if it exists. T/F. |
panel.num |
A number or letter to display in the upper left hand corner of the plot when the plot will be used as part of a multi-frame graphic (as in publications). Character |
panel.num.inside.plot |
Whether to display panel.num inside the plot area itself, as opposed to the title area. Ignored if panel.num is NULL. T/F |
bg |
Background color |
legend.space |
The amount of additional space on the lower end of the x-axis to make room for the legend. Expressed as a proportion of the range of the x-axis values |
... |
Additional parameters that will be passed to the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.