본문 바로가기

R초보3

R 데이터 초보 / 벡터의 연산(덧셈, 뺄셈) _ Introduction to R by EDX 벡터의 연산 Vector Arithmetic 의 기본은 간단하다. 기존의 덧셈, 뺄셈기호를 이용하여 계산할 수 있다. 아래에 다양한 연습문제를 통해 익혀보았다. Summing and subtracting vectors Take the element-wise sum of the variables A_vector and B_vector and it assign to total_vector. The result should be a vector. Inspect the result by printing total_vector to the console. Do the same thing, but this time subtract B_vector from A_vector and assign the result to.. 2019. 10. 7.
R 데이타 초보 / 벡터 이름 만들기 _ Introduction to R by EDX 이번엔 각 벡터에 이름을 만들어보자. 이 강좌에서는 벡터에 이름을 주는 방법을 2가지 정도 가르쳐주고 있다. 처음엔 약간 헷갈렸는데, 역시 연습을 몇번해보니 쉽다. Naming a vector (1) Go ahead and assign the days of the week as names to poker_vector and roulette_vector. In case you are not sure, the days of the week are: Monday, Tuesday, Wednesday, Thursday and Friday. # Poker winnings from Monday to Friday poker_vector 2019. 10. 5.
R 데이터 초보 / 벡터만들기 _ Introduction to R by EDX 얼마전 겨우겨우 통과한 'Introduction to R' 강좌. 인터넷 온라인 강좌로 유명한 EDX (www.edx.org) 을 알았따. 아주아주 초짜인 내가 R통계라는 것에대해 맛보게 해준 곳이다. 3개월인가내에 수업듣고 랩 실제로 해보고, 마지막 시험 FINAL 봐서 통과하면 수료증 certificate 를 주는 곳인데.. 시간이 넉넉할 것 같았는데.. 역시나 여유부리다가 막판되어 벼락치기하여 겨우 통과하였다. 어쨋든 수료과정을 하게되어 약 10만원 정도였나? 냈던 기억이.. 그런데 이거 너무 아까워서 다시 한번 복습해보면서 연습문제들을 끄적끄적해보려고 한다. 개념도 정리해보면서, 문제도 남겨보면 기억에 잘 남겠지 ㅎㅎ 언제가는 이게 내게 도움이 되길 바라며ㅋ CREATE AND NAME VECTO.. 2019. 10. 2.