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) ...
One of the most appealing things about R is its ability to create data visualizations with just a couple of lines of code. [This story is part of Computerworld’s “Beginner’s guide to R.” You’ll find ...
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 ...