인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

Yujin Lee's profile image
Yujin Lee

asked

[Give me R] R grammar basics

Loop conditional statement

조건 연산자는 왜 행자리에만 작성해야 하나요?

Written on

·

155

0

열에 대한 조건문을 전달했을 때도 왜 행자리에 들어 가야 하는지 궁금합니다.

아예 조건문 자체를 열 자리에 전달했을 때 undefined columns selected error가 뜨더라구요.

R

Answer 1

0

datadoctor님의 프로필 이미지
datadoctor
Instructor

행이던 열이던 그에맞는 연산 코드를 입력할 수 있습니다.
문법을 잘못 쓰신 것 같아요.
에러가 난 코드를 보여주시면 답변드릴게요.

Yujin Lee's profile image
Yujin Lee

asked

Ask a question