Learn R Programming

LoopAnalyst (version 1.1-1)

weighted.predictions: Compute the Matrix of Weighted Predictions

Description

Validates a community matrix and computes its associated weighted predictions matrix.

Usage

weighted.predictions(CM, status=FALSE)

Arguments

CM
A valid community matrix.
status
Switches on an element-by-element progress indicator when set to TRUE. Set to FALSE by default.

Value

  • The weighted prediction matrix for a community matrix

Details

The supplied matrix is validated as a community matrix, and a weighted predictions matrix is computed. This matrix is equivalent to the transposed community effect matrix with some ambiguous elements resolved using the value of the corresponding feedback matrix. Such values are represented enclosed in parentheses. In keeping with the paper by Levins, Dambacher and Rossignol (expression 42 in the paper cited below), the matrix orientation is congruent with the weighted feedback matrix, and transposed to the community effect matrix.

References

Dambacher, J. M., R. Levins and P. A. Rossignol. (2005) Life expectancy change in perturbed communities: Derivation and qualitative analysis. Mathematical Biosciences 197,1-14

See Also

make.cem, make.wfm, make.adjoint, and make.T.

Examples

Run this code
## compute weighted prediction matrix
data(community.matrix)
weighted.predictions(community.matrix)

Run the code above in your browser using DataLab