angular.mod | R Documentation |
Applies the angular transformation to a vector of counts. A
modified transformation is used that is appropriate when N < 50 and the
proportion is not between 0.3 and 0.7. The transformation is given by
\sin^{-1}{\frac{count + 0.375}{n + 0.75}}
.
angular.mod(count, n)
count |
The numeric vector of counts. |
n |
The number(s) of observations from which the count(s) were obtained. |
A numeric vector.
Chris Brien
angular
, powerTransform
.
n <-25
y <- rbinom(10, n, 0.5)
y <- c(y,0,n)
p.ang.mod <- angular.mod(y, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.