Displaying 1 result from an estimated 1 matches for "profile_glm".
2005 Sep 04
0
Displaying RProf output
...ut from
RProf, to make it easier to optimise your functions. I've included an
example below. I'd love to get your feedback on how easy you think
this graphic is to read, and on ways that it could be improved.
install.packages("butler")
library(butler)
# profile the glm example
profile_glm <- stopwatch(function() example(glm))
# Plot the profile
# y-axis gives percent of time spent in that function
# x-axis gives position in call stack
plot(profile_glm)
# The first few levels aren't of interest, so we can skip them:
# (see ?plot.call.tree for all options)
plot(profile_glm, s...