findXTbl | R Documentation |
Returns the rows of plotTbl with the selected group as the x-variable, and
all the y-variables that are "smaller" than this variable, as defined by sortVec
.
findXTbl(i, sortVec, plotTbl)
i |
numeric. |
sortVec |
character vector. Order in which groups are to display along x- and y-axes. The
first group along the x-axis is the last element of |
plotTbl |
dataframe. Dataframe with columns x, y and origStat. May have other columns.
The combination |
Dataframe with the columns along x and y-axes changed appropriately, for the specific variables
as set by i
and sortVec
.
findXTbl( 1, 1:2, data.frame(x = c( 3, 1, 1 ),
y = c( 2, 2, 1 ),
origStat = c( 0.5, 0.3, -0.2 ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.