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

1 | ```
weighted.predictions(CM, status=FALSE)
``` |

`CM` |
A valid community matrix. |

`status` |
Switches on an element-by-element progress indicator when set to |

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.

The weighted prediction matrix for a community matrix

Alexis Dinno http://www.doyenne.com/LoopAnalyst/

Dambacher, J. M., et al. (2003) Qualitative stability and ambiguity in model ecosystems. *The American Naturalist*, **161(6)**,876–888

Dambacher, J. M. and Li, H. W. and Rossignol, P. A. (2002) Relevance of community structure in assessing indeterminacy of ecological predictions. *Ecology*, **83(5)**,1372–1385

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

.

1 2 3 4 5 | ```
## compute community effect matrix, and note high prevalence of ambiguous predictions
data(cm.dambacher)
make.cem(cm.dambacher, out=TRUE)
## compute weighted prediction matrix, and note disambiguation of the cem
weighted.predictions(t(cm.dambacher))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.