Description Usage Arguments Value Examples
View source: R/arcsinetransform.R
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.
1 | arcsinetransform(numeric.vector, type, n)
|
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 |
Arc sine transformed data
1 2 3 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.