Description Usage Arguments Value References Examples
Generation of temporal basis function
1 | getTBasisFun(serDf, idStr, dateStr, valStr, df = 25, n.basis = 2, tbPath = NA)
|
serDf |
Time series dataframe, format: (siteid,date,observed value) |
idStr |
Location id name |
dateStr |
Date id name |
valStr |
The target variable's name |
df |
Degree of freedom |
n.basis |
Number of temporal basis function |
tbPath |
The path to save the plots of each temporal basis component. Default: NA, no plots generated |
A dataframe of temporal basis function: (date, pvi (the ith temporal basis function output for a date ))
Finkenstadt, B., Held, L., Isham, V., 2007. Statistical Methods for Spatio-Temporal Systems. Chapman & Hall/CRC, New York.
1 2 3 4 | #Use PM2.5 as example:
data("shdSeries2014")
result=getTBasisFun(shdSeries2014,"siteid","date","obs",df=10,n.basis=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.