Description Usage Arguments Details Author(s)
Generates plot of observed (nest) density in moving window bins and suitability classes along habitat suitability index (HSI) gradient.
1 2 3 4 | plotDens(dat.plot, dat.class, sampleHSIs, thresholds, binPntSize = 2, classPntSize = 5,
axisLabSize = 20, tickLabSize = 15,
BS = F, ylabel = "Observed density (nests per 100 ha)",
xlabel = "Habitat Suitability Index (HSI)")
|
dat.plot |
Data frame with one row for each moving window bin. Ideally, use output from 'calcBinDensities' function. |
dat.class |
Data frame with one row for each suitability class. Ideally, use output from 'calcClassDensities' function. |
sampleHSIs |
Numeric vector with HSI values for sample observations (e.g., nest locations; used for rug plot) |
thresholds |
Numeric vector of HSI breakpoints defining suitability classes |
binPntSize |
Size of points representing bin densities in plot |
classPntSize |
Size of points representing class densities in plot |
axisLabSize |
Size of axis titles |
tickLabSize |
Size of tick labels |
BS |
If true, dat.class must include confidence limits (e.g., those generated by the 'HSIClassDensityBS' function), add error bars will be plotted depicting these. |
ylabel |
Character string - label for y-axis |
xlabel |
Character string - label for x-axis |
Generates plot (using ggplot2 package) showing sample (nest) densities along HSI gradient for publication and assessing goodness-of-fit.
Quresh S. Latif, Rocky Mountain Research Station, U.S. Forest Service
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.