log_byname | R Documentation |
Specify the base of the log with base
argument.
log_byname(a, base = exp(1))
a |
A matrix or list of matrices. |
base |
The base of the logarithm (default is |
M with each element replaced by its base base
logarithm
log_byname(exp(1))
m <- matrix(c(10,1,1,100), nrow = 2, dimnames = list(paste0("i", 1:2), paste0("c", 1:2))) %>%
setrowtype("Industry") %>% setcoltype("Commodity")
m
log_byname(m)
log_byname(m, base = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.