R 벡터 요소 있는지 확인

1 개요[ | ]

R 벡터 요소 있는지 확인
v <- c('hello','world','lorem','ipsum')
print('hello' %in% v)
## [1] TRUE
print('yellow' %in% v)
## [2] FALSE

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}