Description Usage Arguments Value
cosAngle
computes the cosine of angles between electrodes or
between any N-dimensional vectors, or between two sets of electrodes or
any N-dimensional vectors.
1 |
x |
a matrix or data.frame with at least two columns and rows |
y |
If not NULL (default), a matrix or data.frame with at least two columns and rows |
coords |
a logical variable; if TRUE (default), data in x are coordinates. Coordinates should be named as "x", "y", "z" or "theta", "phi", and if names are present, only coordinate columns are used in the computations. |
units_in_rows |
a logical variable indicating whether the units (vectors) are in the rows of x (TRUE, default) or in the columns. |
check_params |
logical; if TRUE (default), the appropriateness of input data are checked before computing the cosine of angles. Set it to FALSE if you really know what you are doing. |
A symmetric matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.