Internal function, not intended for use by the user.

Returns a spp x spp matrix of potential co-occurring sites from spp x site matrix of possible species occupancy.

1 | ```
create.N.matrix(mat)
``` |

`mat` |
spp x site matrix where 1 = potential occupancy and 0 = species does not occur. |

Returns a spp x spp matrix where the upper triangle contains N for each species pair.

Daniel M Griffith

1 2 3 4 5 6 | ```
#data(finches)
#N_matrix <- matrix(data = rbinom(n = nrow(finches)*ncol(finches),1,prob = 0.75),
# nrow = nrow(finches),
# ncol = ncol(finches)
# ,byrow = T)
#create.N.matrix(N_matrix)
``` |

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.