Created
March 22, 2011 01:22
-
-
Save CerebralMastication/880587 to your computer and use it in GitHub Desktop.
pseudo code for Collin
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
# initialize an output data frame | |
# with the right columns... I'll assume it's called dfOut | |
for ( i in 1:(nrow(df)) ) { | |
for ( j in 1:(df$endYear - df$startYear + 1 ) ) { | |
dfOut[length(dfOut +1), ] <- ## construct a single row data frame here with the write stuff and it will insert into dfOut ## | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment