| make_mob_in | R Documentation | 
The 'mob_in' object will be passed on for analyses of biodiversity across scales.
make_mob_in(
  comm,
  plot_attr,
  coord_names = NULL,
  binary = FALSE,
  latlong = FALSE
)
| comm | community matrix in which rows are samples (e.g., plots) and columns are species. | 
| plot_attr | matrix which includes the environmental attributes and spatial coordinates of the plots. Environmental attributes are mandatory, while spatial coordinates are optional. | 
| coord_names | character vector with the names of the columns of
 | 
| binary | Boolean, defaults to FALSE. Whether the plot by species matrix "comm" is in abundances or presence/absence. | 
| latlong | Boolean, defaults to FALSE. Whether the coordinates are latitude-longitudes. If TRUE, distance calculations by downstream functions are based upon great circle distances rather than Euclidean distances. Note latitude-longitudes should be in decimal degree. | 
a "mob_in" object with four attributes. "comm" is the plot by species matrix. "env" is the environmental attribute matrix, without the spatial coordinates. "spat" contains the spatial coordinates (1-D or 2-D). "tests" specifies whether each of the three tests in the biodiversity analyses is allowed by data.
Dan McGlinn and Xiao Xiao
 data(inv_comm)
 data(inv_plot_attr)
 inv_mob_in = make_mob_in(inv_comm, inv_plot_attr, coord_names = c('x', 'y'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.