confMat: Print probabilities of changing infection status.

Description Usage Arguments Value Author(s)

View source: R/status.R

Description

Probabilities of switching status between two timepoints are calculated and printed.

Usage

1
confMat(statusMat, cols = c(1, 2))

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).

cols

Columns (i.e. timepoints) to analyse. Only the first two will be used.

Value

Returns the matrix with probabilities.

Author(s)

Mikhail Churakov


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