Learn R Programming

binhf (version 1.0-3)

free: Freeman-Tukey transform

Description

Does Freeman-Tukey average inverse sine transformation on a vector input.

Usage

free(x, n)

Arguments

x

input data vector

n

the binomial size corresponding to the observed binomial values.

Value

a

vector of transformed data corresponding to x.

References

Freeman, M. F. and Tukey, J. W. (1950) Transformations related to the angular and the square root. Ann. Math. Stat., 21, 607--611.

See Also

freeinv

Examples

Run this code
# NOT RUN {
#generate binomial data:

x<-rbinom(100,10,.5)

y<-free(x,10)

#this is now the transformed data.

# }

Run the code above in your browser using DataLab