【发布时间】:2014-03-21 11:23:27
【问题描述】:
有些事情我想不通
这是我的数据集
Proband Lauf Interleukin Ansatz Zeitpunkt
1 3 2 IFNy stim ZP21
2 3 2 iL2 stim ZP4
3 3 2 iL2 stim ZP14
4 5 3 iL2 stim ZP21
5 4 3 iL2 stim ZP2
6 4 3 iL2 stim ZP4
7 4 3 iL2 stim ZP28
8 9 5 iL2 stim ZP0
9 13 6 IFNy stim ZP4
10 13 6 iL2 stim ZP7
11 16 7 iL2 stim ZP21
12 16 7 iL2 stim ZP28
我想排序到“Zeitpunkt”,所以接下来我做了什么:
pvalsig1 <- read.csv2(file="pvalsig.csv", fill=NA, na.strings="")
pvalsig1 <- pvalsig[,1:5]
pvalsig1$Zeitpunkt <- as.character(pvalsig1$Zeitpunkt)
pvalsig1$Zeitpunkt <- factor(pvalsig1$Zeitpunkt, levels=c("ZP0", "ZP2", "ZP4", "ZP7", "ZP14", "ZP21", "ZP28", "ZP35", "ZPM9", "ZPM9+1"))
这给了我
Proband Lauf Interleukin Ansatz Zeitpunkt
1 3 2 IFNy stim ZP21
2 3 2 iL2 stim <NA>
3 3 2 iL2 stim ZP14
4 5 3 iL2 stim ZP21
5 4 3 iL2 stim <NA>
6 4 3 iL2 stim <NA>
7 4 3 iL2 stim <NA>
8 9 5 iL2 stim <NA>
9 13 6 IFNy stim <NA>
10 13 6 iL2 stim <NA>
11 16 7 iL2 stim ZP21
12 16 7 iL2 stim <NA>
我敢肯定,这与之前“Zeitpunkt”栏中的不规则排队有关。但我无法弄清楚它是什么以及如何驾驭它。谢谢
【问题讨论】: