mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Docs for new surv verb (#1807)
This commit is contained in:
parent
d14dc76318
commit
ea242a242a
3 changed files with 21 additions and 1 deletions
|
|
@ -3857,6 +3857,21 @@ mean - - 5000.5 0.49860196816795804 0.5062057444929905
|
|||
median pan pan 5001 0.5011592202840128 0.5060212582772865
|
||||
</pre>
|
||||
|
||||
## surv
|
||||
|
||||
<pre class="pre-highlight-in-pair">
|
||||
<b>mlr surv --help</b>
|
||||
</pre>
|
||||
<pre class="pre-non-highlight-in-pair">
|
||||
Usage: mlr surv -d {duration-field} -s {status-field}
|
||||
|
||||
Estimate Kaplan-Meier survival curve (right-censored).
|
||||
Options:
|
||||
-d {field} Name of duration field (time-to-event or censoring).
|
||||
-s {field} Name of status field (0=censored, 1=event).
|
||||
-h, --help Show this message.
|
||||
</pre>
|
||||
|
||||
## tac
|
||||
|
||||
<pre class="pre-highlight-in-pair">
|
||||
|
|
|
|||
|
|
@ -1161,6 +1161,12 @@ GENMD-RUN-COMMAND
|
|||
mlr --from data/medium --opprint summary --transpose -a mean,median,mode
|
||||
GENMD-EOF
|
||||
|
||||
## surv
|
||||
|
||||
GENMD-RUN-COMMAND
|
||||
mlr surv --help
|
||||
GENMD-EOF
|
||||
|
||||
## tac
|
||||
|
||||
GENMD-RUN-COMMAND
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@ func channelWriterHandleBatch(
|
|||
// XXX also make sure this results in exit 1 & goroutine cleanup
|
||||
if writerOptions.FailOnDataError && record != nil {
|
||||
ok := true
|
||||
fmt.Printf("AAA %#v", record)
|
||||
for pe := record.Head; pe != nil; pe = pe.Next {
|
||||
if pe.Value.IsError() {
|
||||
context := recordAndContext.Context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue