Description Usage Arguments Value Author(s) References Examples
Converts a 'dist' object into vector and vice versa.
1 2 3 4 5 |
x |
A vector or a 'dist' object. |
size |
Integer, the number of observations in the dataset (see |
labels, diag, upper, call, method |
Logical, setting attributes of the distance object (see |
dim.names |
Logical, if |
... |
Other arguments passed to functions. |
vec2dist
returns an object of class dist
.
is.dist
returns a logical statement about the class of the object.
stack.dist
returns a data frame with comuns row
for row id's, col
for column
id's and dist
for the distance values.
P\'eter S\'olymos, solymos@ualberta.ca
S\'olymos P. (2008) mefa: an R package for handling and reporting count data. Community Ecology 9, 125–127.
S\'olymos P. (2009) Processing ecological data in R with the mefa package. Journal of Statistical Software 29(8), 1–28. doi: 10.18637/jss.v029.i08
http://mefa.r-forge.r-project.org/
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.