trans_odd_round: odd transformation

View source: R/spotTransform.R

trans_odd_roundR Documentation

odd transformation

Description

Generate odd numbers, i.e., x -> 2x-1 for x > 0. Return values are rounded using round.

Usage

trans_odd_round(x)

Arguments

x

input

Value

x

Examples

f2 <- function(x){2^x}
fn <- c("trans_odd_round", "exp", "f2")
xNat <- diag(3)
SPOT::transformX(xNat, fn)


SPOTMisc documentation built on Sept. 5, 2022, 5:06 p.m.