delete(3f) - [M_datapac:VECTOR_OPERATION] delete all elements of a vector within some specified interval
Synopsis
Description
Options
Examples
Author
Maintainer
License
SUBROUTINE DELETE(X,N,Xmin,Xmax,Newn)
delete(3f) deletes all observations in the REAL vector x which are inside the closed (inclusive) interval defined by xmin and xmax, while retaining all observations outside of this interval.
thus all observations in x which are larger than or equal to xmin and smaller than or equal to xmax are deleted from x.
delete(3f) (and the replac and retain subroutines) gives the data analyst the ability to easily clean up a data set which has missing and/or outlying observations so that a more appropriate subsequent data analysis may be performed.
X description of parameter Y description of parameter
Sample program:
program demo_delete use M_datapac, only : delete implicit none ! call delete(x,y) end program demo_deleteResults:
The original DATAPAC library was written by James Filliben of the Statistical Engineering Division, National Institute of Standards and Technology.
John Urban, 2022.05.31
CC0-1.0
Nemo Release 3.1 | delete (3) | February 23, 2025 |