powered by
Generate odd numbers, i.e., x -> 2x-1 for x > 0. Return values are rounded using round.
x -> 2x-1
round
trans_odd_round(x)
x
input
f2 <- function(x){2^x} fn <- c("trans_odd_round", "exp", "f2") xNat <- diag(3) SPOT::transformX(xNat, fn)
Run the code above in your browser using DataLab