강의

멘토링

커뮤니티

Inflearn Community Q&A

ttehees24089's profile image
ttehees24089

asked

R Program - Season 1

14. character, string 3

grep과 stringr에서의 코딩 순서 차이

Written on

·

219

0

grep에서는 소괄호 뒤에 찾고자 하는 값을 먼저 넣었는데 왜 str_count에서는 찾는 값이 아닌 toupper(cars)를 먼저 넣나요?

e.g.

grep("t", tolower(cars), value=TRUE)

str_count(toupper(cars), "TOYOTA")

R

Answer

This question is waiting for answers
Be the first to answer!
ttehees24089's profile image
ttehees24089

asked

Ask a question