September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1 +0,0 @@
|
|||
upper.tri(1:12 %o% 1:12, diag = TRUE) * 1:12 %o% 1:12
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
multiplication_table <- function(n=12)
|
||||
{
|
||||
one_to_n <- 1:n
|
||||
x <- matrix(one_to_n) %*% t(one_to_n)
|
||||
x[lower.tri(x)] <- 0
|
||||
rownames(x) <- colnames(x) <- one_to_n
|
||||
print(as.table(x), zero.print="")
|
||||
invisible(x)
|
||||
}
|
||||
multiplication_table()
|
||||
Loading…
Add table
Add a link
Reference in a new issue