Quick question. I read my csv file into the variable data. It has a column label var, which has numerical values.
data
var
When I run the command >
There may be Inf or -Inf as values in the data.
Inf
-Inf
Try
is.finite(data)
or
min(data, na.rm = TRUE) max(data, na.rm = TRUE)
to check if that is indeed the case.