You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messageSGP(paste0("\tNOTE: ", tmp.configuration.year, " indicated in the configuration has no matrices in ", paste(state, "SGPt_Baseline_Matrices", sep="_")))
166
-
if (tmp.data.last.year> tail(matrix.years, 1L)) tmp.matrix.year<- tail(matrix.years, 1L)
167
-
if (tmp.data.last.year< head(matrix.years, 1L)) tmp.matrix.year<- head(matrix.years, 1L)
168
-
if (!exists("tmp.matrix.year")) tmp.matrix.year<-tmp.configuration.year
messageSGP(paste0("\tNOTE: ", tmp.configuration.year, " indicated in the configuration has no matrices in ", paste(state, "SGPt_Baseline_Matrices", sep="_")))
168
+
if (tmp.data.last.year> tail(matrix.years, 1L)) tmp.matrix.year<- tail(matrix.years, 1L)
169
+
if (tmp.data.last.year< head(matrix.years, 1L)) tmp.matrix.year<- head(matrix.years, 1L)
170
+
if (!exists("tmp.matrix.year")) tmp.matrix.year<-tmp.configuration.year
[](https://gitter.im/CenterForAssessment/SGP?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Copy file name to clipboardExpand all lines: man/rliSGP.Rd
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ rliSGP(
27
27
simulate.sgps=FALSE,
28
28
save.intermediate.results=FALSE,
29
29
coefficient.matrices=NULL,
30
+
coefficient.matrices.year=NULL,
30
31
goodness.of.fit.print=FALSE,
31
32
return.updated.shell=FALSE,
32
33
fix.duplicates="KEEP.ALL",
@@ -81,6 +82,8 @@ analysis. Default is NULL, no ID replacement is performed.
81
82
}
82
83
\item{coefficient.matrices}{List of baseline matrices to be used for analyses (overrides what exists in \code{SGPstateData}). Defaults to NULL (use those in \code{SGPstateData}).
83
84
}
85
+
\item{coefficient.matrices.year}{Year associated with coefficient matrices to be used for analyses. Defaults to NULL which will use the most recent matrices calculated before the year provided in the data.
86
+
}
84
87
\item{goodness.of.fit.print}{Boolean argument passed to \code{\link{updateSGP}} indicating whether to print goodness of fit plots associated with outcome. Default is FALSE.
85
88
}
86
89
\item{return.updated.shell}{Boolean argument (defaults to FALSE) indicating whether to return \code{sgp_object} as part of call to \code{rliSGP}.
0 commit comments