Permalink
Browse files

Prepare for release.

Rebuild documentation and move data directory to correct place.
  • Loading branch information...
1 parent d40265a commit f0c8aa065a49c031370b92f5b83291d4918a28df @hadley committed May 2, 2008
File renamed without changes.
File renamed without changes.
View
@@ -15,15 +15,10 @@ Visualise profiling data stored in a \code{profr} data.frame.
}
\details{This will plot the call tree of the specified stop watch object.
-If you only want a small part, you will need to subset the object
-
-@arguments profile output to plot
-@arguments other arguments passed on to \code{\link[ggplot2]{ggplot}}
-@arguments minimum percent of time for function to get a label
-@arguments function label angle
-@seealso \code{\link{plot.profr}}
-@keyword hplot
-X glm_ex <- profr(example(glm))}
+If you only want a small part, you will need to subset the object}
\seealso{\code{\link{plot.profr}}}
-\examples{glm_ex <- profr(example(glm))}
+\examples{if (require("ggplot2", quiet = TRUE)) {
+ggplot(nesting_prof)
+ggplot(reshape_prof)
+}}
\keyword{hplot}
View
@@ -15,5 +15,6 @@ Parses the output of \code{\link{Rprof}} into an alternative format described in
\details{This produces a flat data frame, which is somewhat easier to summarise
and visualise.}
\seealso{\code{\link{profr}} for profiling and parsing}
-\examples{}
+\examples{nesting <- parse_rprof(system.file("samples", "nesting.rprof", "profr"))
+diamonds <- parse_rprof(system.file("samples", "reshape.rprof", "profr"))}
\keyword{debugging}
View
@@ -17,7 +17,6 @@ Visualise profiling data stored in a \code{profr} data.frame.
\details{If you only want a small part of the total call tree, you will need
to subset the object as demonstrated by the example.}
\seealso{\code{\link{ggplot.profr}}}
-\examples{glm_ex <- profr(example(glm))
-plot(glm_ex)
-plot(subset(glm_ex, level < 5))}
+\examples{plot(nesting_prof)
+plot(reshape_prof)}
\keyword{hplot}

0 comments on commit f0c8aa0

Please sign in to comment.