Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sort1

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.

Author(s)

Stephen Tueller


longCatEDA

Package for Plotting Categorical Longitudinal and Time-Series Data

v0.31
GPL (>= 3)
Authors
Stephen Tueller. Funded by the National Institute on Drug Abuse (NIDA) Award number 1R03DA030850, the National Institute on Alcohol Abuse and Alcoholism (NIAAA) Award Number R03 AA019775, and the National Institute of Justice Award Number 2011-RY-BX-0003.
Initial release
2017-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.