Skip to content

Instantly share code, notes, and snippets.

@daynebatten
Created March 8, 2016 12:43
Show Gist options
  • Save daynebatten/9e390190375db1184450 to your computer and use it in GitHub Desktop.
Save daynebatten/9e390190375db1184450 to your computer and use it in GitHub Desktop.
ch$survival <- Surv(ch$time, ch$event * ch$type, type = 'mstate')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment