a <- disord(c(1,3,4))
a
A disord object with hash b4b1eb91ca18b2ae8de2b461ed2e57c9184a8f41 and elements
[1] 1 3 4
(in some order)
is.na(a) <- c(T,F,F)
a
A disord object with hash b4b1eb91ca18b2ae8de2b461ed2e57c9184a8f41 and elements
[1] NA 3 4
(in some order)
Above is clearly a bug: the last line should return an error.
Following example taken from
misc.Rd
:Above is clearly a bug: the last line should return an error.