Description Usage Arguments Value References See Also Examples
The medq
command calculates univariate or multivariate medians and distance quantiles either by groups specified by a grouping variable or for the entire data set being used.
Options allow you to specify quantiles to report that differ from the default quantiles.
This is generally used as descriptive statistics with MRPP analyses and describes the distributional changes detected by MRPP.
1 2 |
variables |
a vector specifying the names of the variables to be used in the analysis. Any names specified here must be matched by a column name in the argument supplied to |
group |
the name of the grouping variable. This should be a column name in the |
data |
a |
save.test |
stores the distance between each observation and its group bivariate median these can be later extracted using the command |
quant |
a vector of quantiles for which multivariate quantiles should be calculated. |
medq
returns an object of class MEDQObj
.
Mielke, P.W., Jr. and Berry, K.J. 2001. Permutation methods: A distance function approach. Springer-Verlag.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.