fill_dispersal_matrix: Fill the vec-permutation dispersal matrix

View source: R/fill_dispersal_matrix.R

fill_dispersal_matrixR Documentation

Fill the vec-permutation dispersal matrix

Description

Fill for a given species, all sites

Usage

fill_dispersal_matrix(
  focal.sp,
  num.sites,
  param,
  vpm,
  env = NULL,
  current.densities
)

Arguments

focal.sp

integer, focal species

num.sites

integer, how many sites

param

param nested list,see 'build_param' function

vpm

data structure holding all vector-permutation matrices; see 'vec_permutation_matrices'

env

optional numeric, environmental forcing for a given timestep

current.densities

list of length sp, each element is a matrix sites*stages

Value

dispersal matrix, stages*sites


cxr documentation built on Oct. 27, 2023, 1:08 a.m.