arcsinetransform: Arc sine transformation of the numeric vector

Description Usage Arguments Value Examples

View source: R/arcsinetransform.R

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

1
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

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)

doebioresearch documentation built on July 8, 2020, 7:18 p.m.