Description Usage Arguments Details Value References
discorr
is used to construct the distance and correlation matrices
needed to estimate range, organization, and strength.
1 2 3 |
df |
a fema-class data.frame. |
longlat |
logical indicating whether coordinates are projected. Default
is |
ctype |
a string indicating the type of correlation to be caluclated. Valid options include single1 (cosine similarity for a single slope), single2 (linear similarity for a single slope), and multi (square root of the sum of squared differences across multiple slopes). |
x1 |
a vector of slopes associated with observation i. |
x2 |
a vector of slopes associated with observation j. |
discorr
is used to generate distance and correlation matrices
that can then be summarized in terms of range, organization, and strength.
pwc
calculates pairwise correlations using the methods outlined by
Martin, Slez, and Borkenhagen (2016).
The function discorr
returns the following list of objects:
matrix of coordinates.
vectors of slopes.
logical indicating whether coordinates are projected.
the distance matrix.
the correlation matrix.
Martin, J.L., Slez, A., and Borkenhagen, C. 2016. "Some Provisional Techniques for Quantifying the Degree of Field Effect in Social Data."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.