createPPPList: Create a list of PPP objects

Description Usage Arguments Value Author(s)

View source: R/spatial.R

Description

Status matrix and corresponding coordinates are used to create a list of PPP objects for further spatial analysis.

Usage

1
createPPPList(statusMat, coords, cols = c(1, 2), na.rm = FALSE)

Arguments

statusMat

A matrix with statuses (NA, 0, any positive integer) of each unit. Rownames indicate location names, colnames indicate names of timepoints (e.g. years).

coords

Coordinates of units.

cols

Columns (i.e. timepoints) to analyse, by default the first two are used.

na.rm

Whether remove NA values for each timepoint separately.

Value

List of PPP objects.

Author(s)

Mikhail Churakov


mc30/disnap documentation built on Jan. 18, 2020, 3:44 a.m.