To more effectively customize non-graphical components in ggplot2 for survival data, it is recommended to create a function that allows for theme customization. # Customize theme of kaplan meier curve ...
#' @param dat Data is the output from function morpho.indices(). #' @param name Character vector of names for ALL samples INCLUDING reference. #' @param ref Index number (or name as character string) ...
Note the column name, mpg, is unquoted. That feature hasn’t been handy, though, if you want to write your own R functions using the tidyverse. That’s because base R functions usually need quoted ...