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.


In reply to Re: Any perlish hints about Kaplan-Meier Estimator? by aitap
in thread Any perlish hints about Kaplan-Meier Estimator? by karlgoethebier

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.