Learn R Programming

asremlPlus (version 4.4.46)

angular: Applies the angular transformation to proportions.

Description

Applies the angular transformation to numeric values. It is given by \(\sin^{-1}(\sqrt{proportions})\)

Usage

angular(proportions, n)

Value

A numeric.

Arguments

proportions

The proportions.

n

The divisor(s) for each proportion

Author

Chris Brien

See Also

angular.mod, powerTransform.

Examples

Run this code
n <-25
y <- rbinom(10, n, 0.5)
y <- c(y,0,n)
p <- y/n
p.ang <- angular(p, n)

Run the code above in your browser using DataLab