permuteCurves {textBoxPlacement}R Documentation

permuteCurves

Description

reorder multiple curves so that the curve with the largest y range is on the bottom of the staggered graph

Usage

permuteCurves(xList, yList, tList, textBoxHeights, permInd)

Arguments

xList

list whose components are numeric vectors of the x values for overlaid curves

yList

list whose components are numeric vectors of the y values for overlaid curves

tList

list of character string texts to insert in plot

textBoxHeights

return value of textBoxUserUnits()

permInd

return value of permInd()

Value

returns a list whose (re-ordered) components are:

Examples


units<-textBoxUserUnits(textList,yrange(yList1),verbose=TRUE)
permuteCurves(xList1,yList1,textList,units,permInd(yrange(yList1)))



[Package textBoxPlacement version 1.0 Index]