f.internal: Internal auxiliar function to parallel process in mcfly

View source: R/internal_functionParallelProcess.R

f.internalR Documentation

Internal auxiliar function to parallel process in mcfly

Description

Internal auxiliar function to parallel process in mcfly

Usage

f.internal(
  k,
  sample.size.posterior,
  max.sample.size.prior,
  prior.alpha,
  prior.w,
  theta.val,
  phylo,
  niche.sigma,
  root.value,
  my.landscape,
  JM,
  n.timestep,
  spp.freq,
  niche.breadth,
  occurrence,
  spp.names,
  names.comm,
  entropy.order,
  div,
  tol,
  return.comm,
  scenario.ID,
  output.dir.path
)

Arguments

k

numeric, auxiliar parameter to paralell proccess

sample.size.posterior

numeric indicating the size of posterior distribution

max.sample.size.prior

numeric indicating the sie of prior distribution

prior.alpha

character indication the type of prior alpha same as mcfly

prior.w

logical indicating if the w must be estimated

theta.val

numeric theta value

phylo

phylogeny

niche.sigma

numeric indicating the sigma for nich

root.value

numeric indicating the mean value of traits

my.landscape

landscape

JM

total number of individuals in simulation process

n.timestep

number of timesteps in simulation process

spp.freq

frequency of species

niche.breadth

numeric indicating the niche breath of species

occurrence

logical

spp.names

names of species

names.comm

names for communities

entropy.order

diversity value accordingly to entropy order

div

diversity value

tol

tolerance value

return.comm

logical

scenario.ID

character

output.dir.path

character

Value

list with results to be used in mcfly function


GabrielNakamura/mcfly documentation built on July 27, 2023, 12:45 p.m.