==FALSE)(!(is.na(cV))) )]
i2
numeric(0)
--
Svetlana EdenBiostatistician IISchool of Medicine
Department of Biostatistics Vanderbilt University
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman
indicesFalse = indices[compareVector == FALSE]
indicesFalse
[1] NA 5 NA
setdiff(indicesNA, indicesFalse) OK
[1] 1 6
setdiff(indicesFalse, indicesNA) I would
expect here 'NA 5 NA'
[1] NA 5
--
Svetlana EdenBiostatistician II
()==NULL' is not TRUE
and not FALSE ?
--
Svetlana EdenBiostatistician IISchool of Medicine
Department of Biostatistics Vanderbilt University
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
(x = 10, y = 87)
d - rbind(d, add)
# now I would think that the next index should be 21, BUT:
d
x y
1 1 99
2 10 55
11 14 99
12 10 87
# so what is the intuition of such indexing?
--
Svetlana EdenBiostatistician IISchool of Medicine
The funciton c() works differently for strings and for factors:
For strings:
l = c('a', 'b')
l
[1] a b
For factors:
l = c(factor('a'), factor('b'))
l
[1] 1 1
What should be the right technique for merging factors?
--
Svetlana EdenBiostatistician IISchool
.
---
--
Svetlana EdenBiostatistician IISchool of Medicine
Department of Biostatistics Vanderbilt University
--
Svetlana EdenBiostatistician IISchool of Medicine
Department