Learn R Programming

latrend (version 1.6.1)

.trajSubset: Select trajectories

Description

Create a subset of the data with the given trajectories

Usage

.trajSubset(data, ids, id)

Arguments

data

The longitudinal dataset, a data.frame

ids

The trajectory identifiers, vector

id

The name of the id column