startmat: startmat

Description Usage Arguments Value

View source: R/landscape.R

Description

Creates a square matirx of supplied size with all cell values being 1. This is the matrix anticipated by the habitat growth functions.

Usage

1
startmat(matsize)

Arguments

matsize

integer, the size of a side of the suare matrix to be created.

Value

a square matrix whose sides are of size 'matsize' and all cell values are "1".


syanco/checkyourself documentation built on Jan. 18, 2021, 4:50 a.m.