Description Usage Arguments See Also
The var
function from the stats is replace by a new
method
in order to report the variance of circular data
appropriatly. var.default
is an alias of the original function
var
see cor
. The behavior would be the same for objects which are not
from class
data.frame
and
circular
(in the last case the variance is define as one
minus the mean resultant length divided by the sample size of data, see
var.circular
for more details). The method for
data.frame
will apply the var
function to each columns.
1 2 3 4 5 |
x |
a numeric vector, matrix or data frame. |
y |
|
na.rm |
logical. Should missing values be removed? |
use |
an optional character string giving a
method for computing covariances in the presence
of missing values. This must be (an abbreviation of) one of the strings
|
... |
further arguments passed to or from other methods. |
cor
, var.circular
, rho.circular
and summary.circular
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.