stacksasfactor: Represent stacks as factor

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/stacksasfactor.R

Description

Represent stacks as factor, using the node information of the profile record

Usage

1
stacksasfactor(sprof, sel, events)

Arguments

sprof

a sprof data structure.

sel

Indices of stacks to convert.

events

Events, stacks of which to convert

Details

sel and events are exclusive.

If none is selected, all stacks are given.

Value

A vector, or a list of vectors, representing the selected stacks as factors.

Note

event based selection should report event numbers.

Author(s)

Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>

Examples

1
2
3
4

sprof documentation built on May 2, 2019, 4:45 p.m.