call.graph.setup: Use the proftools output to create a call graph

Description Usage Arguments Author(s) Examples

Description

Using the processed output from an Rprof session, this will create an graph object representing the call graph. It is focused on a particular namespace and colors nodes according to their documentation/review states

Usage

1

Arguments

pd

The processed output of an Rprof session for a block of R code (see example)

Author(s)

Alex

Examples

1
2
3
4
data(market_95)
f <- "pr <- price.response(DF)"
pd <- prof.routine(f)
g <- call.graph.setup(pd)

NorskRegnesentral/NRTools documentation built on May 7, 2019, 6:19 p.m.