Skip to contents

(RMD believes) used to port between R and C functions.

Usage

cFun(
  type = "int",
  fun_name = "sample_index_using_probs",
  data = NULL,
  params = NULL,
  i = 0,
  probs = c(0),
  x = 0,
  dead_index = 0,
  parent_indv = 0,
  dispersed_this_iter = TRUE,
  speciation_sp = 0
)

Arguments

type

type

fun_name

fun_name

data

data

params

params

i

i

probs

probs

x

x

dead_index

dead_index

parent_indv

parent_indv

dispersed_this_iter

dispersed_this_iter

speciation_sp

speciation_sp

Value

corresponding C function