Eliminate Elements from Arrays or Time Series
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 indexes 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.
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.