Displaying 1 result from an estimated 1 matches for "datastep5".
Did you mean:
datastep
2009 Jun 23
1
Error in .subset(x, j) : only 0's may be mixed with negative subscripts
...0 1 NA
13 0 0 0 0 18804 0 0 4 NA
>
If I reduce the data frame datastep4 by removing a few records where the
variable G102 is not 1, and removing the column named "G102" (which is
column 84),
I end up with a smaller set called datastep5 with 192701 rows and 94
columns
> datastep5 <- datastep4[datastep4$G102 != 1,-84]
>
> dim(datastep5)
[1] 192701 94
> names(datastep5)[1:5]
[1] "RESPONDED" "VAR_30" "VAR_31" "VAR_32" "VAR_33"
> table(datastep...