cbind.trackdata {emuR}R Documentation

A method of the generic function cbind for objects of class 'trackdata'

Description

Different track data objects from one segment list are bound by combining the $data columns of the track data object by columns.

Usage

## S3 method for class 'trackdata'
cbind(...)

Arguments

...

track data objects

Details

All track data objects have to be track data of the same segment list. Thus $index and $ftime values have to be identically for all track data objects. Track data objects are created by get_trackdata(). The number of rows of the track data objects must match.

Value

A track data object with the same $index and ftime values of the source track data objects and with $data that includes all columns of $data of the source track data objects.

Author(s)

Jonathan Harrington

See Also

cbind, rbind.trackdata trackdata get_trackdata

Examples


   data(vowlax)
   
   #segment list vowlax - first segment only 
   vowlax[1,]
   
   #F0 track data object for vowlax - first segment only 
   vowlax.fund[1,]
   
   #rms track data object for vowlax - first segment only 
   vowlax.rms[1,]
      
   
   #now combine both track data objects
   fund.rms.lax = cbind(vowlax.fund, vowlax.rms)
   
   #the combined track data object - first segment only
   #The first column keeps vowlax.fund data, the second keeps vowlax.rms data 
   fund.rms.lax[1,]



[Package emuR version 2.5.0 Index]