metacom_as_HMSCdata: Format metacommunity data to "HMSC" classes

Description Usage Arguments

View source: R/full_process_fx.R

Description

This function will use the simulated metacommunity matrices and format the data into "HMSC" classes

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
metacom_as_HMSCdata(
  metacomData,
  numClusters,
  E,
  MEMsel,
  hmscPars = NULL,
  makeRDS = FALSE,
  whereToSave = NULL,
  objName = NULL
)

Arguments

metacomData

list of simulated metacommunity matrices. Output from metacom_sim4HMSC() or metacom_sim4HMSC_multiparam()

numClusters

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

E

matrix of environmental variables associated to each site

MEMsel

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

hmscPars

list of parameters to be included for iterations, burn and thin components of the as.HMSCdata()

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?


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