Learn R Programming

asremlPlus (version 4.2-26)

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)

Arguments

proportions

The proportions.

n

The divisor(s) for each proportion

Value

A numeric.

See Also

angular.mod, powerTransform.

Examples

Run this code
# NOT RUN {
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