Problem Can we put a customized function like rank. Can I use it in rxSummary, rxCube, rxDatastep( transformfunction). Solution Use the transforms argument with rxDataStep() or use a transformation function.