transfun: A Function to cast real numbers to '[0,1]'

View source: R/transfun.R

transfunR Documentation

A Function to cast real numbers to [0,1]

Description

A transformation function to cast any real number onto the interval [0,1]. Equivalent to the inverse logit transform.

Usage

transfun(x)

Arguments

x

a real number to be transformed.

Value

The transformed cast of the input value to the interval [0,1].

Examples

transfun(5.1)

kostasgian21/heteroplasmy documentation built on Jan. 30, 2024, 12:30 a.m.