Skip to content

Commit

Permalink
20241002 - fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Petersen committed Oct 2, 2024
1 parent ee4787b commit 041f99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 17-Test-Bias.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,6 @@ Adding missing data to dataframes helps make examples more realistic to real-lif
`HolzingerSwineford1939` is a data set from the `lavaan` package [@R-lavaan] that contains mental ability test scores (`x1``x9`) for seventh- and eighth-grade children.

```{r}
data("HolzingerSwineford1939")
varNames <- names(mydataBias)
dimensionsDf <- dim(mydataBias[,-c(1,2)])
unlistedDf <- unlist(mydataBias[,-c(1,2)])
Expand All @@ -901,6 +900,7 @@ mydataBias <- cbind(
ncol = dimensionsDf[2])))
names(mydataBias) <- varNames
data("HolzingerSwineford1939")
varNames <- names(HolzingerSwineford1939)
dimensionsDf <- dim(HolzingerSwineford1939[,paste("x", 1:9, sep = "")])
unlistedDf <- unlist(HolzingerSwineford1939[,paste("x", 1:9, sep = "")])
Expand Down

0 comments on commit 041f99a

Please sign in to comment.