prepareSGP
and analyzeSGP
. Function is integrate with cutscores embedded in
SGPstateData
to calculate growth-to-standard targets associated with catch-up/keep-up to proficient status and move-up/stay-up to advanced status.combineSGP(sgp_object,
state=NULL,
years=NULL,
content_areas=NULL,
sgp.percentiles=TRUE,
sgp.percentiles.baseline=TRUE,
sgp.projections.lagged=TRUE,
sgp.projections.lagged.baseline=TRUE,
max.sgp.target.years.forward=3,
update.all.years=FALSE)
Student
(from prepareSGP
) and SGP
(from analyzeSGP
) slots.sgp_object
is missing.@Data
. If missing, merge will use all available years of student growth percentile results.@Data
. If missing, merge will use all available content areas of
student growth percentile results.combineSGP
should delete previously merged variables calculated in analyzeSGP
and
re-merge all available data.Student
slot as a data.table
keyed using VALID_CASE
, CONTENT_AREA
,
YEAR
, ID
merged with student growth percentiles and/or lagged projection targets and catch-up/keep-up and move-up/stay-up status.prepareSGP
, analyzeSGP
## combineSGP is Step 3 of 5 of abcSGP
Demonstration_SGP <- sgpData_LONG
Demonstration_SGP <- prepareSGP(Demonstration_SGP)
Demonstration_SGP <- analyzeSGP(Demonstration_SGP)
Demonstration_SGP <- combineSGP(Demonstration_SGP)
Run the code above in your browser using DataLab