Description Usage Arguments Value Examples
is component of specific sector or index?
1 2 | is_component(TS, stockID, endT = Sys.Date(), sectorID, drop = FALSE,
datasrc = defaultDataSRC())
|
TS |
|
stockID |
|
endT |
|
sectorID |
a character string. The ID of the index, sector or plate. See detail in |
drop |
|
datasrc |
a dataframe or a vector(if drop==TRUE)
1 2 3 4 | is_component(stockID = c("EQ000001","EQ300089"),sectorID = "EI000300",drop=TRUE)
is_component(stockID = c("EQ000001","EQ300089"),sectorID = "ES09440000")
TS <- getTS(as.Date(c("2014-01-01","2016-01-01")),indexID = "EI000906")
re <- is_component(TS,sectorID = "EI000300")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.