Learn R Programming

asremlPlus (version 2.0-9)

angular: Applies the angular transformation to proportions.

Description

Applies the angular transformation to numeric values. It is given by $arcsin( sqrt( proportions ) )$

Usage

angular(proportions, n)

Arguments

proportions
The proportions.
n
The divisor(s) for each proportion

Value

See Also

angular.mod, power.transform.

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