Function to reduce to funcitonal units, and calculate multivariate richness and functional overlap

1 | ```
calc.mvd(in.mat, in.com, traitspace, calc.ovr)
``` |

`in.mat` |
A record by trait matrix |

`in.com` |
A record by community matrix |

`traitspace` |
The total trait space for scaling purposes |

`calc.ovr` |
An indicator for whether overlap metrics should be calculated |

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.