arcsinetransform {doebioresearch} | R Documentation |
Arc sine transformation of the numeric vector
Description
The function divide values by 100, does square root and than sin inverse of each values of vector. If any of the values of a vector is 0 or 100, it is replaced by 1/4n or 100-(1/4n), respectively.
Usage
arcsinetransform(numeric.vector, type, n)
Arguments
numeric.vector |
data vector to be transformed |
type |
0 if data is in percentage and 1 if data is in proportion |
n |
is the number of units upon which the percentage/proportion data is based |
Value
Arc sine transformed data
Examples
vector<-c(23,0,29.6,35.6,33,35.6,10.5,100)
# Arc sine trnasformation for percentage data and n=10
arcsinetransform(vector,0,10)
[Package doebioresearch version 0.1.0 Index]