Learn R Programming

aprof (version 0.4.1)

targetedSummary: targetedSummary

Description

Allows a detailed look into certain lines of code, which have previously been identified as bottlenecks in combination with a source file.

Usage

targetedSummary(target = NULL, aprofobject = NULL, findParent = FALSE)

Arguments

target

The specific line of code to take a detailed look at. This can be identified using summary.aprof.

aprofobject

object of class "aprof" returned by the function aprof.

findParent

Logical, should an attempt be made to find the parent of a function call? E.g. "lm" would be a parent call of "lm.fit" or "mean" a parent call of "mean.default". Note that currently, the option only returns the most frequently associated parent call when multiple unique parents exist.