An alternative data type to ldframe for grouping together time series is the ldamat class. Given a number of ldats objects y1, y2,...,yn, the command
Example 3.10: we have three ldats objects rat.1, rat.2 and rat.3 representing the growth rates of three different rats under three different treatments. We could group them all into one ldamat object with the commandPrinting out the ldamat object as we have done here displays the component time series of the object, one by one. Note that every component time series has a name, which we specified in the call to ldamat; if these names are not specified default names will be given.
![]()