"R 벡터 요소 있는지 확인"의 두 판 사이의 차이

(새 문서: ==개요== ;R 벡터 요소 있는지 확인 <source lang='r'> v <- c('hello','world','lorem','ipsum') print('hello' %in% v) ## [1] TRUE print('yellow' %in% v) ## [2] FALSE </source>...)
 
 
13번째 줄: 13번째 줄:
* [[R 벡터]]
* [[R 벡터]]
* [[R %in%]]
* [[R %in%]]
* [[R 리스트 요소 있는지 확인]]


[[분류: R 벡터]]
[[분류: R 벡터]]

2019년 12월 14일 (토) 16:56 기준 최신판

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 }}