Learn R Programming

SPOTMisc (version 1.19.52)

trans_mult2_round: Mult 2 transformation

Description

Parameter values can be translated, implements the multiplication (transformation), i.e., x is mapped to round(2x).

Usage

trans_mult2_round(x)

Value

x

Arguments

x

input

Examples

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

Run the code above in your browser using DataLab