R初学者,
有个问题想咨询大家,
我想要删掉数据库中一个变量中的几个值,但是一直出bug,
#号后面是结果
is.numeric(scmdata1.na$SCM4G)# TRUE
scmdata2 <- subset(scmdata1.na,SCM4G < 9)
groupIN2 <- xtabs(~SCM4G, scmdata2)
groupIN2 #< table of extent 0 >
range(groupIN2)
#[1] Inf -Inf
#Warning messages:
# 1: In min(x) : no non-missing arguments to min; returning Inf
#2: In max(x) : no non-missing arguments to max; returning -Inf