开发者

Instring Function in R

Close to finishing up my first pro开发者_高级运维ject entirely in R, but I am stuck. I don't really have a good grasp of regex, but usually can accomplish my tasks with substring, instring, len, or comparable functions.

I have two questions. Where can I find a list of string functions in R, and 2nd, does R have an instring type function?

Many thanks in advance!

Brock


I think this reference anwswers both questions.

HTH!


You might like working with the stringr package, which gives a consistent interface to the R string functions. It has functions like str_detect() and str_locate() which may address your instring needs.


This might point you in the right direction:

help.search(keyword = "character", package = "base")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜