Skip to content

Instantly share code, notes, and snippets.

@chainsawriot
Created January 2, 2014 17:16
Show Gist options
  • Save chainsawriot/8222600 to your computer and use it in GitHub Desktop.
Save chainsawriot/8222600 to your computer and use it in GitHub Desktop.
Array rename
testarray <- array(1:6, c(2,3))
dimnames(testarray) <- list(c("a", "b"), c("d", "e","f"))
testarray
dimnames(testarray) <- list(c("H", "K"), c("R", "U","G"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment