This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================================== | |
# RandomFlowerDay.R | |
# Calculates 12 "random" days/year, to buy flowers for your special someone. | |
# Output is in mm/dd/yy | |
# | |
# Dependencies - Uses awk to pre-process system information. Should work on | |
# andy POSIX compatible system. Requires r-base only. | |
# | |
# Includes a set of tests. I'm still learning how to properly build Unit Tests | |
# in R. In the meantime, these will do the trick nicely. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Draw a basic choropleth map, using R. | |
# This example creates a map of the United States, based on completely | |
# fictional information. Since we just survived an election, I used red and | |
# blue as my color choices. | |
library(maps) | |
library(mapdata) | |
# If either library() call fails, try these. |