Article written by

2 Responses

Page 1 of 1
  1. Carlos J. Gil Bellosta
    Carlos J. Gil Bellosta at | | Reply

    Tirando de expresiones regulares:

    uccode.0 <- uccode <- prodlist$comm.code

    mi.filtro <- function( x )
          all( ! grepl( paste( "^", x, ".+", sep = "" ), uccode.0 ) )

    res <- Filter( mi.filtro, uccode )

Please comment with your real name using good manners.

Leave a Reply