0

Why doesn't the logical statement show TRUE?

> pfv0$x[480]
[1] -2
> pfv0$x[480] == -2
[1] FALSE
> is.numeric(pfv0$x[480])
[1] TRUE

I am fairly new to R and I feel like I am missing something easy here. Any help would be appreciated.

0 Answers0