Skip to content

Instantly share code, notes, and snippets.

@daynebatten
Created January 6, 2016 19:18
Show Gist options
  • Save daynebatten/abc6c8cae65e72536c94 to your computer and use it in GitHub Desktop.
Save daynebatten/abc6c8cae65e72536c94 to your computer and use it in GitHub Desktop.
# Plot Schoenfield residuals to show the violation...
plot(cox.zph(fit))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment