Displaying 1 result from an estimated 1 matches for "startlevel".
Did you mean:
start_level
2005 Sep 04
0
Displaying RProf output
...m <- 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, startlevel=4)
# We might also want to see what's going further down
plot(profile_glm, startlevel=4, depth=10)
# By default only functions that take longer than 2% of the
# total time are shown, setting mintime changes that
plot(profile_glm, startlevel=4, depth=10, mintime=1)
One interesting thing you...