Skip to content

Commit

Permalink
Merge pull request #31 from grahamstark/master
Browse files Browse the repository at this point in the history
object of type 'closure' is not subsettable work around
  • Loading branch information
alexkowa authored Jan 18, 2024
2 parents 466e8e1 + 054d2a2 commit bb76866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/specifyInput.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ specifyInput <- function(data, hhid, hhsize=NULL, pid=NULL, weight=NULL,
}else{
# initialize dummy strata used by other methods in package
strata <- paste(c("DUMMY_STRATA_",sample(c(letters,LETTERS),8,replace=TRUE)), collapse="")
df[[strata]] <- factor(1)
data[[strata]] <- factor(1)
}

data <- as.data.table(data)
Expand Down

0 comments on commit bb76866

Please sign in to comment.