Description Usage Arguments Details Value Examples
Plot reference proximity values for a test site
1 2 3 4 |
station_dat |
input |
output |
chr string indicating desired output from the function |
station_dat
must have the same GIS predictors as those in bugs_stations[[2]]
, specifically
"StationCode", "AREA_SQKM", "New_Lat", "New_Long", "SITE_ELEV", "PPT_00_09", "TEMP_00_09", "SumAve_P",
"KFCT_AVE", "BDH_AVE", "P_MEAN", "ELEV_RANGE"
. The StationCode
must also not be a reference site, as
in those in loadRefData()
.
A plot of average proximity values across all metrics if output = "map"
, a facetted map for each
model and predictor of proximity values if output = "mapmod"
, a jitter plot of the distribution
of proximity values by predictor if output = "jit"
, a faceted jitter plot of the disributin of
proximity valuues by predictor and model if output = "jitmod"
, a PCA plot of principal components
one and two for all metric proximity values if output = "pca"
, a faceted PCA plot of principal
components one and two for all metric proximity values by model if output = "pcamod"
, or a
data.frame
of the proximity values for all reference sites and the test site if output = "dat"
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | station_dat <- bugs_stations[[2]][1, ]
# map, default
refprox(station_dat)
# map by model
refprox(station_dat, output = 'mapmod')
# jitter
refprox(station_dat, output = 'jit')
# jitter by model
refprox(station_dat, output = 'jitmod')
# pca
refprox(station_dat, output = 'pca')
# pca by model
refprox(station_dat, output = 'pcamod')
# data
refdat <- refprox(station_dat, output = 'dat')
head(refdat)
tail(refdat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.