I have a weird problem running R.app 3.3.2 under Mac OS X 10.10.5.
I was trying to interrupt a command line using various Control codes until I
discovered that “Esc” is the escape key. (Makes sense!)
Now I find that while I can enter new commands to R, they no longer echo back,
so I cannot see
Thanks for the quick response.
My work-around was suggested as a quick fix for right-censored data, not as a
general sort method for censored data.
My concern was that sort does not work on right-censored data as described in
the xtfrm documentation.
Mik Bickis
On Feb 13, 2015, at 05:53
It seems that Surv objects do not sort correctly. This seems to be a bug.
Anyone else found this?
survival.data
[1] 4+ 3 1+ 2 5+
class(survival.data)
[1] Surv
sort(survival.data)
[1] 2 1+ 4+ 3 5+
An easy work-around is to define a function sort.Surv
It seems that Surv objects do not sort correctly. This seems to be a bug.
Anyone else found this?
survival.data
[1] 4+ 3 1+ 2 5+
class(survival.data)
[1] Surv
sort(survival.data)
[1] 2 1+ 4+ 3 5+
An easy work-around is to define a function sort.Surv
4 matches
Mail list logo