get_VPresults_SITE: Variation partinioning: sites

Description Usage Arguments Details

View source: R/full_process_fx.R

Description

use of the VariPart function from HMSC, gets results at the level of species

Usage

1
2
3
4
5
6
7
8
get_VPresults_SITE(
  HMSCmodel,
  MEMsel,
  numClusters,
  makeRDS = FALSE,
  whereToSave = NULL,
  objName = NULL
)

Arguments

HMSCmodel

output from the metacom_as_HMSCdata() or an object from as.HMSCdata()

MEMsel

distance-based Moran' Eigenvector Map's eigenvector maps from a geographic distance matrix (xy matrix). This comes from adespatial::dbmem()

numClusters

number of clusters based on number of cores available to work with DoParallel

makeRDS

should the function make an RDS file from the output and save it? Default is FALSE

whereToSave

file path for the RDS file to be saved in

objName

should the RDS file be saved, what should it be called?

Details

I think this function can probably just be incorporated into the VariPart for species if we include and if statement for sites = TRUE


javirudolph/iStructureMetaco documentation built on Dec. 20, 2021, 9:09 p.m.