Learn R Programming

longCatEDA (version 0.31)

sort1:

Description

Helper function for sorter, doing within group sorting with sorter looping through groups (even if there is only one group) using sort1.

Usage

sort1(id1, y1, times1, events1, event.times1, group1, 
ascending = TRUE, whichColumns = NULL, initFirst = FALSE)

Arguments

id1
The identification variable for one group. See also id for longCat.
y1
The longitudinal data for one group. See also y for longCat.
times1
The time data for one group. See also times for longCat.
events1
The events data for one group. See also events for longCat.
event.times1
The event times for one group. See also event.times for longCat.
group1
The group identification variable for one group. See also group for sorter.
ascending
See ascending for sorter.
whichColumns
See whichColumns for sorter.
initFirst
See initFirst for sorter.