| courseProgressionSGP | R Documentation | 
Utility function used to analyze supplied long data or an existing SGP class object to identify potential course progressions suitable for analysis with analyzeSGP, studentGrowthPercentiles, etc. See examples for more information.
courseProgressionSGP(
	sgp_object,
	lag.direction=c("FORWARD", "BACKWARD"),
	year)
| sgp_object | Either a panel data set in long form or an object of class SGP. See embedded  | 
| lag.direction | Character string indicating whether the progressions should be produced prospectively or retrospectively. | 
| year | Character indicating the value of YEAR that is the focus of analysis. | 
Function returns a nested list class object. The final node of each nested list is a  data.table which summarizes the number of students with a particular GRADE by CONTENT_AREA by YEAR course progression
Adam Van Iwaarden avaniwaarden@nciea.org and Damian W. Betebenner dbetebenner@nciea.org
sgpData_LONG
## Not run: 
## Run courseProgressionSGP on the subset of the long data that contains
## ONLY mathematics related records (would realistically also contain EOCT math courses)
Math_Data <- subset(SGPdata::sgpData_LONG, CONTENT_AREA == "MATHEMATICS")
Math_Progressions <- courseProgressionSGP(Math_Data, lag.direction= "BACKWARD", year="2015_2016")
##  Examine results for Adcademic Year 2015-2016, 5th grade Mathematics.
Math_Progressions[['BACKWARD']][['2015_2016']][['MATHEMATICS.05']]
Math_Progressions[['BACKWARD']][['2015_2016']][['MATHEMATICS.05']][COUNT>100]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.