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

Description Usage Arguments Value

View source: R/internal_functionParallelProcess.R

Description

Internal auxiliar function to parallel process in mcfly

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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,
  summary.stat,
  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

summary.stat

summary statistic to be used (correlation)

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 June 10, 2021, 8:44 p.m.