sinhrks / ggfortify

Define fortify and autoplot functions to allow ggplot2 to handle some popular R packages.
Other
527 stars 65 forks source link

autoplot.survfit(): fix to handling arbitrary functions #188

Closed jonathon-love closed 6 years ago

jonathon-love commented 6 years ago

fun %in% x fails if fun is a function

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.05%) to 93.525% when pulling 6a7bed27279fcd8fafc27e2abba72f9e81990071 on jonathon-love:master into 62750438a17a0acfb09556271cda191c0a9b8e2f on sinhrks:master.

terrytangyuan commented 6 years ago

Thank you for your contribution! Could you also add a test case that captures this scenario?

jonathon-love commented 6 years ago

done!