Created
February 24, 2014 06:51
-
-
Save mickeypash/9183079 to your computer and use it in GitHub Desktop.
This is what I came up with. Not sure if this works for you.
This file contains hidden or 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
clippedaod <- data.frame(yr=c(2000,2001,2002,2003,2004,2005)) | |
tst <- c() | |
for(i in 2000:2013){ | |
tst[i] <- (clippedaod$yr == i) | |
print(i) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment