Hi all, One of the the columns of a data frame has a value such like
AAAAS-2001-yy AAAAS-2004-xx FFFFF-2007-SS and so on based on this column (variable) I want subset a data frame where the middle value of this variable is between 2001 to 2004. THE END RESULT THE DATA FRAME WILL BE THIS. AAAAS-2001-yy AAAAS-2004-xx THANK YOU IN ADVANCE [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.