R/myprofr-package.R

#' Cleans and extracts information from files produced by Rprof
#'
#' Cleans and extracts information from files produced by Rprof
#'
#' @docType package
#' @name myprofR
#' @aliases myprofR package-myprofR
#' @examples
#' \dontrun{
#' ## Use examples from productplots for profiling...
#' if(!("Prodplot.txt" %in% dir())){
#'     Rprof("Prodplot.txt")
#'     library(productplots)
#'     if (require("ggplot2")) {
#'         prodplot(happy, ~ happy, "hbar")
#'         prodplot(happy, ~ happy, "hspine")
#'         
#'         prodplot(happy, ~ sex + happy, c("vspine", "hbar"))
#'         prodplot(happy, ~ sex + happy, stacked())
#'         
#'         ## The levels argument can be used to extract a given level of the plot
#'         prodplot(happy, ~ sex + happy, stacked(), level = 1)
#'         prodplot(happy, ~ sex + happy, stacked(), level = 2)
#'     }
#'     Rprof(NULL)
#' }
#' }
NULL
Dasonk/myprofr documentation built on May 6, 2019, 1:38 p.m.