logit_tran: 'logit_tran' to conduct logit-transformation.

Description Usage Arguments Value Author(s)

View source: R/data_clean.R

Description

logit_tran to conduct logit-transformation.

Usage

1
logit_tran(x, add_num = 0.01)

Arguments

x

a vector of proportions (either in form of 0.20 or 20).

add_num

the number to add for 0s, the dafult is 0.01.

Value

a vector has been logit transformed.

Author(s)

Daijiang Li


daijiang/dli55 documentation built on Jan. 28, 2018, 3:48 a.m.