Nothing
#############################################################
# #
# angular.variance function #
# Author: Claudio Agostinelli #
# Email: claudio@unive.it #
# Date: June, 24, 2011 #
# Copyright (C) 2011 Claudio Agostinelli #
# #
# Version 0.2 #
#############################################################
angular.variance <- function (x, na.rm=FALSE) {
if (is.matrix(x)) {
apply(x, 2, angular.variance, na.rm=na.rm)
} else {
if (na.rm)
x <- x[!is.na(x)]
x <- conversion.circular(x, units="radians", zero=0, rotation="counter")
attr(x, "class") <- attr(x, "circularp") <- NULL
AngularVarianceRad(x=x)
}
}
AngularVarianceRad <- function(x) {
rbar <- RhoCircularRad(x)
circvar <- 2*(1-rbar)
return(circvar)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.