Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gael MILLOT
cute_little_R_functions
Commits
e2f63d64
Commit
e2f63d64
authored
Nov 02, 2020
by
Gael
Browse files
tempo
parent
783279de
Changes
3
Hide whitespace changes
Inline
Side-by-side
cute_little_R_functions.docx
View file @
e2f63d64
No preview for this file type
examples.R
View file @
e2f63d64
...
...
@@ -131,6 +131,7 @@ fun1(arg1 = vec4)
### All the arguments
# See the examples of fun_info() to test different classes of objects
fun_check
(
data
=
vec1
,
class
=
"integer"
,
...
...
@@ -174,7 +175,7 @@ exp1 <- expression("a") # expression
name1
<-
substitute
(
exp1
)
# object of class "name", mode "name" & type "symbol"
fun1
<-
mean
# function type "closure"
fun2
<-
sum
# function primitive type "builtin"
fun3
<-
get
(
"
+
"
)
# function primitive type "special"
fun3
<-
get
(
"
<-
"
)
# function primitive type "special"
env1
<-
new.env
()
# environment
s4
<-
show
# S4 object
...
...
other/cute_checks.docx
View file @
e2f63d64
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment