Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Any perlish hints about Kaplan-Meier Estimator?

by aitap (Curate)
on Nov 04, 2021 at 17:49 UTC ( #11138436=note: print w/replies, xml ) Need Help??

in reply to Any perlish hints about Kaplan-Meier Estimator?

son is forced to observe
I'm sorry to hear that. What level of education is that establishment supposed to provide? What would the son prefer to do instead?
The stuff is currently done less or more in R which is considered being pain in the ass.

There are probably faster ways of easing the pain in the ass than rewriting everything in Perl. After all, the math involved is complicated, so re-implementing it from scratch in likely to result in a lot of bugs, but it's already been done by a well-known member of the community and relied upon by a lot of people. R is a bit confusing after Perl because of its pass-by-value nature and generics-based OOP, but it can be written in all kinds of paradigms, and the CRAN code quality is really high, especially for packages reviewed by ROpenSci.

The end result is that the desired plot could be a one-liner in R, depending on the format of the available data and one package being installed: plot(survival::survfit(Surv(time, status) ~ x, data = read.table('data.txt')))

Care to share your frustrations? Or would you like to send a mail to the R-help mailing list? It's mostly friendly, like PerlMonks.

Replies are listed 'Best First'.
Re^2: Any perlish hints about Kaplan-Meier Estimator?
by karlgoethebier (Abbot) on Nov 04, 2021 at 18:40 UTC

    Thanks. Very nice. I guess I begin to see it clearly now. Probably I’m a helicopter father. Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138436]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2023-03-27 01:57 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.