Skip to contents

To matrix

Usage

fun_to_m(x, n_species, n_patch, param_attr)

Arguments

x

Scalar or vector

n_species

Number of species

n_patch

Number of patches

param_attr

Indicate species or patch attribute