Skip to content

Commit

Permalink
fix subset logic
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Sep 5, 2024
1 parent 27b9807 commit 30b33f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/fscores.internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ setMethod(
tabdatalong=large$tabdata, Freq=large$Freq, ngroups=1L,
covdata=covdata, mins=rep(0L, ncol(response.pattern))[pick])
if(length(object@Internals$CUSTOM.IND))
newmod@Internals$CUSTOM.IND <- object@Internals$CUSTOM.IND[
object@Internals$CUSTOM.IND %in% pick]
newmod@Internals$CUSTOM.IND <- c(1:length(pick))[
pick %in% object@Internals$CUSTOM.IND]
if(!is.null(covdata)){
newmod@Data$fulldata <- list(large$tabdata)
lrPars <- newmod@ParObjects$lrPars
Expand Down

0 comments on commit 30b33f2

Please sign in to comment.