使用多模式字符向量的grep
grep
FirstName Letter Alex A1 Alex A6 Alex A7 Bob A1 Chris A9 Chris A6
c("A1", "A9", "A6").
grep
matches <- unique (
grep("A1| A9 | A6", myfile$Letter, value=TRUE, fixed=TRUE))
侃侃无极
MYYA
holdtom
小怪兽爱吃肉
随时随地看视频慕课网APP