Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/gjamHfunctions.R
Fills in predictor, response, and effort matrics for time series data where there are multiple multivariate time series. Time series gjam is still under development.
1 2  |   gjamFillMissingTimes(xdata, ydata, edata, groups, times, 
                       sequences=NULL, fillNA=T, fillTimes=T)
 | 
xdata | 
 
  | 
ydata | 
 
  | 
edata | 
 
  | 
groups | 
 column name in   | 
times | 
 column name in   | 
sequences | 
 column name in   | 
fillNA | 
 fill new rows in ydata with NA; otherwise interpolated value  | 
fillTimes | 
 insert rows for missing times: integers values in column   | 
Fills missing times in xdata, ydata, edata.  If fillTimes = TRUE insert rows for missing times, including a times = 0, which serves as a prior mean for times = 1.  groups must be uniquely defined.  Within groups can be sequences, as when there is a time series for groups for each year.
A list containing the following:
xdata | 
 filled version of   | 
ydata | 
 filled version of   | 
edata | 
 filled version of   | 
timeZero | 
 row numbers in new data where each time series begins, with times = 0  | 
timeLast | 
 row numbers in new data where each time series ends  | 
rowInserts | 
 row numbers for all inserted rows  | 
noEffort | 
 rows for which effort is zero, except times = 0  | 
James S Clark, jimclark@duke.edu
Clark, J.S., D. Nemergut, B. Seyednasrollah, P. Turner, and S. Zhang. 2016. Generalized joint attribute modeling for biodiversity analysis: Median-zero, multivariate, multifarious data. Ecological Monographs, 87, 34-56.
gjam for more on xdata, ydata, and effort.
A more detailed vignette is can be obtained with:
web site 'http://sites.nicholas.duke.edu/clarklab/code/'.
1 2 3 4  | ## Not run: 
# under construction
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.