powered by
Parameter values can be translated, e.g., to base 10 as implemented in trans_10pow. trans_2pow implements the transformation x -> 2^x.
trans_10pow
trans_2pow
trans_2pow(x)
2^x
input
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