View source: R/Hypervolumes_functions.R
hypervolumes | R Documentation |
Calculates two hypervolumes
on two sets of "raw" data or on the factor scores of
an ordination done on the entire dataset (across the two sets of data).
hypervolumes(
HVdata1,
HVdata2,
HVidvar,
ordination = "PCA",
init.vars = NULL,
noAxes = NULL,
do.scale = FALSE,
HVmethod = "box",
freeBW = FALSE,
bwHV1 = NULL,
bwHV2 = NULL,
no.runs = 1,
plotOrdi = TRUE,
plotHV = TRUE,
saveOrdi = FALSE,
saveOrdiSumm = TRUE,
outputs.dir,
file.suffix,
verbose = TRUE,
plotHVDots = NULL,
...
)
HVdata1 |
the |
HVdata2 |
the |
HVidvar |
the name or number of the column (in |
ordination |
determines whether hypervolumes will be calculated on the raw data ("none") of on ordination factor scores (one of "PCA", "HillSmith", "dudi.mix"). Defaults to using a PCA. |
init.vars |
is a vector with the variable indices (column numbers) to use. Defaults to NULL and all variables are used - ATTENTION the user should not have more than 8 variables unless using an ordination to reduce dimensionality. See Blonder et al 2014. |
noAxes |
determines the number of axes/columns to use for hypervolume calculation |
do.scale |
activates scaling prior to the ordination/calculation of HVs |
HVmethod |
determines the method used to calculate hypervolumes - passed to |
freeBW |
determines whether a bandwidth estimator will be used to calculate bandwith per variable.
Only used if |
bwHV1 |
determines the bandwidth value for first hypervolume. Only used if |
bwHV2 |
determines the bandwidth value for second hypervolume. Only used if |
no.runs |
determines how many times the HV calculations and comparisons are repeated |
plotOrdi |
activates/desactivates plotting for ordinations - plots are saved to PDFs not plotted interactively |
plotHV |
activates/desactivates plotting for hypervolumes - plots are saved to PDFs not plotted interactively |
saveOrdi |
activates/deactivates saving ordination object |
saveOrdiSumm |
activates/deactivates saving ordination summary outputs |
outputs.dir |
is the directory to store results |
file.suffix |
is a character string used as a suffix in file names |
verbose |
is passed to |
plotHVDots |
a |
... |
further arguments passed to |
Nothing is returned. Hypervolumes and comparisons are saved outputs.dir
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.