sort1 | R Documentation |
sorter
, doing within group sortingThis function is a helper for sorter
, designed to handle sorting within individual groups as sorter
loops through groups (even if there is only one group) using sort1
.
sort1(
id1,
y1,
times1,
events1,
event.times1,
group1,
ascending = TRUE,
whichColumns = NULL,
initFirst = FALSE
)
id1 |
The identification variable for one group, analogous to |
y1 |
The longitudinal data for one group, analogous to |
times1 |
The time data for one group, analogous to |
events1 |
The events data for one group, analogous to |
event.times1 |
The event times for one group, analogous to |
group1 |
The group identification variable for one group, analogous to |
ascending |
Logical, indicating if sorting should be in ascending order. This parameter is consistent with the |
whichColumns |
Specifies which columns of |
initFirst |
Logical, indicating whether to initialize sorting with the first column, consistent with the |
Stephen J. Tueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.