tx: Named transformation functions

Description Usage Arguments Examples

View source: R/tx.R

Description

Evaluates the named link function at the locations x.

Usage

1
tx(x, link, linkparams)

Arguments

x

Values at which to evaluate the link function

link

Character vector specifying link function to evaluate. Supports 'identity', 'log', and 'logit'.

linkparams

Optional list of additional parameters for link functions. For example, the logit function can be extended to allow mappings to any closed interval. There should be one list entry for each link function. Specify NA if defaults should be used.

Examples

1
bisque:::tx(0.5, 'logit', list(NA))

jmhewitt/bisque documentation built on Feb. 9, 2020, 2:36 a.m.