View source: R/bimets_ts_functions.R
ELIMELS | R Documentation |
This function eliminates the selected elements from the input array or the input time series.
ELIMELS(x=NULL, idx=NULL, avoidCompliance=FALSE, ...)
x |
Input numerical array or time series that must satisfy the compliance control check defined in |
idx |
Numerical array built with the indices of selected elements to be removed from the input. If the input is a time series the index must be provided as a sequence of numbers |
avoidCompliance |
If |
... |
Backward compatibility. |
This function returns an array with the kept elements from the input array or the input time series.
TIMESERIES
is.bimets
BIMETS indexing
GETYEARPERIOD
LOCS
NAMELIST
INTS
TSINFO
TSLOOK
TABIT
NOELS
print(ELIMELS(INTS(1,10),c(1,4,5)))
#print 2 3 6 7 8 9 10
print(ELIMELS(TSERIES(1:10,START=c(2000,1),FREQ=4),c(2000.25,2000.75)))
#print 2 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.