Returns the weighetd mean direction of a vector of circular data.
1 2 3
a vector. The object is coerced to class
a numerical vector of weights the same length as
logical, indicating if
the attribute of the resulting object.
further arguments passed to or from other methods.
Each observation is treated as a unit vector, or point on the unit
circle. The resultant vector of the observations is found, and the
direction of the resultant vector is returned. An
returned if the weighted resultant length is less than
w is missing then all elements of
x are given the same
weight, otherwise the weights coerced to numeric by
as.numeric and normalized to sum to one.
Missing values in
w are not handled specially and so give a
missing value as the result. However, zero weights are handled
specially and the corresponding
x values are omitted from the
Returns the weighted mean direction of the data as an object of class
circular with the attribute given by
control.circular or from
x if missed in
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.