Assignment 8 Using autoplot() to generate graphs from Git Bash

Assignment 8 Using autoplot() to generate graphs from Git Bash

by Ujas Patel -
Number of replies: 1

I am using the ggplot2 package and the autoplot() function to graph a Kaplan-Meier curve for survival data. When I run the code from the command line, the code outputs everything as expected, however, I don't see the Rplot.pdf file generated in the directory as I would if I used the plot() function. How can I visualize the graph in this case?

Thank you!

In reply to Ujas Patel

Re: Assignment 8 Using autoplot() to generate graphs from Git Bash

by Erik Spence -
I believe there is a ggplot.save() function, or something like that. Look it up.