i keep getting the error code, Error in ind1[i]:ind2[i] : NA/NaN argument, i dont know how to fix this and my TA isn't responding
Asked
Active
Viewed 32 times
0
-
`ind1` and `ind2` only have 6 elements, but you iterate from 1 through 10. `ind1[7]`, `ind1[8]`, etc. will all return this error that you’re getting – mfg3z0 Mar 02 '23 at 23:47
-
@mfg3z0 tysm!!! – ava Mar 02 '23 at 23:58
-
Welcome to Stack Overflow. We cannot read code or data into R from images. Please [make this question reproducible](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) by including the code as plain text. – neilfws Mar 03 '23 at 00:15