Skip to content

Instantly share code, notes, and snippets.

@vegarsti
Last active September 4, 2018 08:08
Show Gist options
  • Save vegarsti/89a118d8e993f9c1ce64f259bb909fc9 to your computer and use it in GitHub Desktop.
Save vegarsti/89a118d8e993f9c1ce64f259bb909fc9 to your computer and use it in GitHub Desktop.
  • plot(x, y) + abline(a, b, col="red", lwd=2)
  • plot(x, y, type="b", col="red", pch=19) "dotdash" med filled
  • plot(x, y, type="b", col="red") "dotdash" uten filled
  • rm(list=ls(all=TRUE)) remove stuff
  • `sapply(.., simplify='array') == unlist(lapply(..))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment