transformX | R Documentation |
Transform input variables
transformX(xNat = NA, fn = vector())
xNat |
|
fn |
vector of transformation functions names ( |
matrix
of transformed parameters
f2 <- function(x){2^x} fn <- c("identity", "exp", "f2") xNat <- diag(3) transformX(xNat, fn) fn <- append(fn, c("sin", "cos", "tan")) xNat <- cbind(xNat, xNat) transformX(xNat, fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.