exp_byname {matsbyname} | R Documentation |
Exponential of matrix elements
Description
Gives the exponential of all elements of a matrix or list of matrices
Usage
exp_byname(a)
Arguments
a |
a matrix of list of matrices |
Value
M
with each element replaced by its exponential
Examples
exp_byname(1)
m <- matrix(c(log(10),log(1),
log(1),log(100)),
byrow = TRUE, nrow = 2, ncol = 2,
dimnames = list(paste0("i", 1:2), paste0("c", 1:2))) %>%
setrowtype("Industry") %>% setcoltype("Commodity")
m
exp_byname(m)
[Package matsbyname version 0.6.10 Index]