View source: R/arcsinbacktran.R
arcsinbacktran | R Documentation |
Given a set of arcsine-transformated proportions X, back-transforms them back to "raw" proportions; that is, undoes the arcsine transformation.
arcsinbacktran(x)
x |
Arcsine-transformed proportion(s) to be back-transformed back to proportions. |
numeric vector with the original proportions
arcsintran
for the arcsine transformation
mydata <- data.frame(Accuracy.Proportion = c(0.5,0.75,0.99,0, 0.2)) mydata$Accuracy.Arcsin <- arcsintran(mydata$Accuracy.Proportion) mydata$Accuracy.Backtran <- arcsintran(mydata$Accuracy.Arcsin) mydata # same as original proportions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.