我有这些数据:
"","HH","Value"
"1","RR",59014
"2","RL",9076
"3","RU",12466
"4","LL",1304
"5","LR",8678
"6","LU",1912
"7","UL",1360
"8","UR",8662
"9","UU",15444
在我的数据框中但是当我尝试做的时候:
xyplot( Value ~ HH, data = datBeatRLU,
xlab = "HH",
ylab = "Value",
main = "Who beat who ?"
)
我有一个错误。
Warning messages:
1: In order(as.numeric(x)) : NAs introduced by coercion
2: In diff(as.numeric(x[ord])) : NAs introduced by coercion
3: In (function (x, y, type = "p", groups = NULL, pch = if (is.null(groups)) plot.symbol$pch else superpose.symbol$pch, :
NAs introduced by coercion
Ho只是简单地指示xyplot接受此文本或带有1的字典:RR 2:RL 3:RU等......
感谢和问候