Description Usage Value Examples
TSF_nextF
turn TSF
into TSFR
by lead date and factorscore one period.
1 | TSF_nextF(TSF)
|
a TSFR, in which the 'periodrtn' is the 'next_factorscore'.
1 2 3 4 5 6 7 8 9 | tsfr <- TSF_nextF(tsf)
# --- deal with the 'rptTSF'
rptTS <- getrptTS(as.Date("2011-12-31"),as.Date("2015-12-31"),freq = "q",univ = "EI000300")
rptTSF <- rptTS.getFin_windR(rptTS ,field = "np_belongto_parcomsh",varname = "factorscore")
TSF <- renameCol(rptTSF,"rptDate","date")
TSFR <- TSF_nextF(TSF)
# --- analysing
chart.IC(TSFR)
chart.Ngroup.overall(TSFR)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.