投稿した質問数
Rプログラム - シーズン1
14.文字、文字列、文字、文字列3
作成
·
220
0
grep에서는 소괄호 뒤에 찾고자 하는 값을 먼저 넣었는데 왜 str_count에서는 찾는 값이 아닌 toupper(cars)를 먼저 넣나요?
e.g.
grep("t", tolower(cars), value=TRUE)
str_count(toupper(cars), "TOYOTA")
回答