Skip to content

Commit 2d24d9a

Browse files
committed
Adding sgp.quantiles argument to baselineSGP function
1 parent fc0065a commit 2d24d9a

File tree

8 files changed

+16
-10
lines changed

8 files changed

+16
-10
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors:
1111
- family-names: "Shang"
1212
given-names: "Yi"
1313
title: "SGP: Student Growth Percentiles & Percentile Growth Trajectories"
14-
version: 2.2-1.993
14+
version: 2.2-1.994
1515
doi: 10.5281/zenodo.13921157
16-
date-released: 2025-5-5
16+
date-released: 2025-5-12
1717
url: "https://sgp.io"

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: SGP
22
Type: Package
33
Title: Student Growth Percentiles & Percentile Growth Trajectories
4-
Version: 2.2-1.993
5-
Date: 2025-5-5
4+
Version: 2.2-1.994
5+
Date: 2025-5-12
66
Authors@R: c(person(given=c("Damian", "W."), family="Betebenner", email="dbetebenner@nciea.org", role=c("aut", "cre"), comment=c(ORCID = "0000-0003-0476-5599")),
77
person(given=c("Adam", "R."), family="Van Iwaarden", email="avaniwaarden@nciea.org", role="aut"),
88
person(given="Ben", family="Domingue", email="ben.domingue@gmail.com", role="aut"),

R/baselineSGP.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function(sgp_object,
1212
return.matrices.only=FALSE,
1313
calculate.baseline.sgps=TRUE,
1414
calculate.simex.baseline=NULL,
15+
sgp.quantiles="Percentiles",
1516
goodness.of.fit.print=TRUE,
1617
parallel.config=NULL,
1718
SGPt=NULL,
@@ -167,6 +168,7 @@ function(sgp_object,
167168
print.time.taken=FALSE,
168169
parallel.config=parallel.config,
169170
calculate.simex=tmp.simex.args,
171+
sgp.quantiles=sgp.quantiles,
170172
SGPt=SGPt,
171173
...)[["Coefficient_Matrices"]])
172174

@@ -320,6 +322,7 @@ function(sgp_object,
320322
drop.nonsequential.grade.progression.variables=FALSE,
321323
exact.grade.progression.sequence=sgp.iter[['sgp.exact.grade.progression']],
322324
sgp.loss.hoss.adjustment=sgp.loss.hoss.adjustment,
325+
sgp.quantiles=sgp.quantiles,
323326
SGPt=SGPt,
324327
...)
325328

R/zzz.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function(libname, pkgname) {
4141

4242
# Define a friendly startup message
4343
message_text <- paste0(
44-
magenta(bold("\uD83C\uDF89 SGP v", installed.version, sep="")), " - ", toOrdinal::toOrdinalDate("2025-5-5"), "\n",
44+
magenta(bold("\uD83C\uDF89 SGP v", installed.version, sep="")), " - ", toOrdinal::toOrdinalDate("2025-5-12"), "\n",
4545
strrep("\u2501", 40), "\n",
4646
bold("\U1F4E6 CRAN: "), cran.version, "\n",
4747
bold("\U1F527 Dev: "), dev.version, "\n",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SGP
55
[![R-CMD-check](https://github.com/CenterForAssessment/SGP/workflows/R-CMD-check/badge.svg)](https://github.com/CenterForAssessment/SGP/actions)
66
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/centerforassessment/SGP?branch=master&svg=true)](https://ci.appveyor.com/project/centerforassessment/SGP)
77
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/SGP)](https://cran.r-project.org/package=SGP)
8-
[![Development Version](https://img.shields.io/badge/devel-2.2--1.993-brightgreen.svg)](https://github.com/CenterForAssessment/SGP)
8+
[![Development Version](https://img.shields.io/badge/devel-2.2--1.994-brightgreen.svg)](https://github.com/CenterForAssessment/SGP)
99
[![Rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/SGP)](https://github.com/metacran/cranlogs.app)
1010
[![License](https://img.shields.io/badge/license-GPL%203-brightgreen.svg?style=flat)](https://github.com/CenterForAssessment/SGP/blob/master/LICENSE.md)
1111
[![Join the chat at https://gitter.im/CenterForAssessment/SGP](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/CenterForAssessment/SGP?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

inst/CITATION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ bibentry(
99
person(given = c("Yi"), family = "Shang")
1010
),
1111
year = "2025",
12-
note = "R package version 2.2-1.993",
12+
note = "R package version 2.2-1.994",
1313
url = "https://sgp.io",
1414
textVersion = paste(
1515
"Damian W. Betebenner, Adam R. Van Iwaarden, Benjamin Domingue and Yi Shang (2025).",
1616
"SGP: Student Growth Percentiles & Percentile Growth Trajectories.",
17-
"(R package version 2.2-1.993)",
17+
"(R package version 2.2-1.994)",
1818
"URL: https://sgp.io"
1919
)
2020
)

man/SGP-package.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ growth projections to be calculated across assessment transitions by equating th
1919
\tabular{ll}{
2020
Package: \tab SGP\cr
2121
Type: \tab Package\cr
22-
Version: \tab 2.2-1.993\cr
23-
Date: \tab 2025-5-5\cr
22+
Version: \tab 2.2-1.994\cr
23+
Date: \tab 2025-5-12\cr
2424
License: \tab GPL-3\cr
2525
LazyLoad: \tab yes\cr
2626
}

man/baselineSGP.Rd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Utility function/exemplar used to produce student growth percentiles using long
1919
return.matrices.only=FALSE,
2020
calculate.baseline.sgps=TRUE,
2121
calculate.simex.baseline=NULL,
22+
sgp.quantiles="Percentiles",
2223
goodness.of.fit.print=TRUE,
2324
parallel.config=NULL,
2425
SGPt=NULL,
@@ -53,6 +54,8 @@ To utilize the maximum matrix order, set to NULL.
5354
}
5455
\item{calculate.simex.baseline}{A list including state/csem variable, csem.data.vnames, csem.loss.hoss, simulation.iterations, lambda and extrapolation method. Defaults to NULL, no simex calculations performed. Alternatively, setting the argument to TRUE sets the list up with state=state, lambda=seq(0,2,0.5), simulation.iterations=50, simex.sample.size=25000, extrapolation="linear" and save.matrices=TRUE.
5556
}
57+
\item{sgp.quantiles}{Argument to specify quantiles for quantile regression estimation. Default is Percentiles. User can additionally submit a vector of quantiles (between 0 and 1). Goodness of fit output only available currently for PERCENTILES.
58+
}
5659
\item{goodness.of.fit.print}{Boolean variable indicating whether the function will export goodness of fit plots if baseline referenced student growth percentiles are calculated. Defaults to TRUE.
5760
}
5861
\item{parallel.config}{parallel configuration argument allowing for parallel analysis by 'tau'. Defaults to NULL.

0 commit comments

Comments
 (0)