coordnames | R Documentation |
Trivial function to set coordinate names to “t
”,
“x
”, “y
”, “z
”.
coordnames(...)
flob(x)
... |
Further arguments, currently ignored |
x |
A matrix |
Function coordnames()
simply returns the character string
c("t","x","y","z")
. It may be overwritten.
Function flob()
sets the row and columnnames of a 4\times
4
matrix to coordnames()
.
If anyone can think of a better name than flob()
let me know.
Robin K. S. Hankin
coordnames()
flob(diag(3))
flob(matrix(1,4,4))
## You can change the names if you wish:
coordnames <- function(x){letters[1:4]}
flob(outer(1:4,1:4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.