Skip to Content
R Cookbook
book

R Cookbook

by JD Long, Paul Titer, Jee -Won Lee
May 2022
Beginner to intermediate
667 pages
16h 17m
Korean
Insight
Content preview from R Cookbook
Cookbook
555
14.24 시계열 평활하게 만들기
15
R Cookbook
간단한 프로그래밍
R
은 여러분이 프로그래밍에 대하여 많이 알지 못하더라도 분석할 수 있게 해 준다.
하지만 프로그래밍을 할 줄 알게 되면 훨씬 많은 일을 할 수 있는데, 대다수의 고급
사용자들은 처음에는 간단하게 시작해서 결국 꽤 능숙하게 프로그래밍을 할 줄 알게
된다. 이 책은 프로그래밍 서적이 아니지만 그래도 이번 장에는
R
사용자들이 여정
을 시작할 때 도움이 될 만한 프로그래밍 관련 레시피를 탑재해 두었다.
이미 프로그래밍 및 다른 언어에 익숙하다면, 다음 몇 가지 사항들을 읽어보면 적
응하는 데 도움이 될 것이다. (만약 아래 용어가 익숙지 않다면 이 절을 건너뛰어도
무방하다.)
R
에서 조심해야 할 기술적인 세부사항은 다음과 같다.
무형식 변수
정형화된 언어인
C
나 자바와 다르게,
R
에서의 변수들은 정수나 문자열 같은 고
정된 자료형을 지니지 않는다. 변수는 숫자를 담고 있다가, 다음 순간 데이터 프
레임을 담고 있을 수도 있다.
반환값
모든 함수는 값을 반환한다. 일반적으로 함수는 본문에 있는 마지막 표현식의 값
을 반환한다. 본문 내 어느 위치에서든
return(
󼤫󼫓󻞬
)
을 쓸 수도 있다.
값에 의한 호출 방식 매개변수
함수의 매개변수들은 ‘값에 의해 호출’된다. 다시 말해, 매개변수들은 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

R Cookbook

R Cookbook

Paul Teetor
R Graphics Cookbook

R Graphics Cookbook

Winston Chang
R Cookbook, 2nd Edition

R Cookbook, 2nd Edition

JD Long, Paul Teetor

Publisher Resources

ISBN: 9788966262984