DC Intermediate R - Functions

Jmnote (토론 | 기여)님의 2019년 4월 6일 (토) 10:01 판
# DC Intermediate R
DC Intermediate R - Conditionals and Control Flow
DC Intermediate R - Loops
DC Intermediate R - Functions
DC Intermediate R - The apply family
DC Intermediate R - Utilities

1 Function documentation

# Consult the documentation on the mean() function
?mean
## mean                   package:base                    R Documentation
## ...

# Inspect the arguments of the mean() function
args(mean)
## function (x, ...) 
## NULL

2 Use a function

3 Use a function (2)

4 Use a function (3)

5 Functions inside functions

6 Required, or optional?

7 Writing Functions

8 Write your own function

9 Write your own function (2)

10 Write your own function (3)

11 Function scoping

12 R passes arguments by value

13 R you functional?

14 R you functional? (2)

15 R Packages

16 Load an R Package

17 Different ways to load a package

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