Skip to content

Instantly share code, notes, and snippets.

@AndrewLJackson
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save AndrewLJackson/f98a72d29a50eeb17258 to your computer and use it in GitHub Desktop.

Select an option

Save AndrewLJackson/f98a72d29a50eeb17258 to your computer and use it in GitHub Desktop.
passing a set of arguments in a list into a function
a <- list(x=rnorm(10), y=rnorm(10), xlab = "x", ylab = "y", col = "blue", pch = 19, bty = "L", cex =2)
do.call('plot', a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment