lots of question error - none relevant can see.
i have vector values around ±1e9, , scales::rescale seems unable handle it.
require(rescale) x2 = rescale(x) # error in if (zero_range(from) || zero_range(to)) return(rep(mean(to), : # missing value true/false needed # in addition: warning message: # in x[1] - x[2] : nas produced integer overflow other checks:
class(x) # [1] "integer" length(x) # [1] 327117 summary(x) # min. 1st qu. median mean 3rd qu. max. # -1.265e+09 -1.113e+09 1.025e+09 4.160e+08 1.034e+09 1.116e+09 range(x) # [1] -1265205248 1116145571 summary(is.na(x)) # mode false na's # logical 327117 0 plot(sort(x), pch = '.') 
no invalid values seems. i've recreated similar range/size dataset seq() doesn't kill rescale. idea what's going on?
Comments
Post a Comment