Equivalent function of R's “%in%” for Stata

前端 未结 3 1392
遥遥无期
遥遥无期 2021-01-19 20:08

Is there an equivalent function of \"%in%\" from R for Stata?

3条回答
  •  执笔经年
    2021-01-19 20:35

    working with lists proper is one way, you could also just treat the rhs like a string and treat the lhs as a regex, use regexm()

提交回复
热议问题