Description Usage Arguments Details Value Note Author(s) Examples
View source: R/stacksasfactor.R
Represent stacks as factor, using the node information of the profile record
1 | stacksasfactor(sprof, sel, events)
|
sprof |
a |
sel |
Indices of stacks to convert. |
events |
Events, stacks of which to convert |
sel
and events
are exclusive.
If none is selected, all stacks are given.
A vector, or a list of vectors, representing the selected stacks as factors.
event based selection should report event numbers.
Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>
1 2 3 4 | data(sprof01lm)
stacksasfactor(sprof01lm, 1:3)
stacksasfactor(sprof01lm, events=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.