Added mobility calculations for both models.
Prose on 9th grade model cohort building.
Added calculated retention for 9th grade students. This is preferred over using the willrepeatgr and isrepeatinggr because it captures students who remain in 9th grade for the full following year and are not promoted through credit recovery after the determination that they would have to repeat grades.
Attendance, age, gpa, course failures for 9th grade model.
White space adjustments.
knitr results
Rename old modal_attribute with _dt designator because it uses data.table as its approach. Added a modal_test case to ensure that new method is equivalent. Added new modal_attribute function that uses dplyr.
Resequenced dependencies to avoid namespace collisions introduced by using dplyr.
Clean up negative attendnace issues.
Prepared file to use new modal_person_attribute and select_hs functions.
Never ending saga. Beginning 10th grade cohorts but ran into trouble so I'm fixing functions all over the place.
Avoids the negative attendnace issues.
added test data with school years
Simplified algorithm by changing the names of the data frame to avoid string issues in dplyr.
White space.
New function to calcuate whether a student has ever been retained in a particular grade.
Rewrote this function to use dplyr instead of data.table and added a test data set.