diff --git a/cute_little_R_functions.docx b/cute_little_R_functions.docx index 3af9965c63a011effba3f2543b19266ae3ed8590..8a05dfa5ac2bd459cc9fe84e6822e8c37ad4a3ee 100644 Binary files a/cute_little_R_functions.docx and b/cute_little_R_functions.docx differ diff --git a/examples.R b/examples.R index 418d1dcbbc223c822065c08d55dc36a6bb07abfe..806e8e06566dc50add9093fc7bf291dc5a0b9982 100644 --- a/examples.R +++ b/examples.R @@ -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 diff --git a/other/cute_checks.docx b/other/cute_checks.docx index 4b468f5ff7130785143000f28a36ca7403d1cb1f..d3b4d7eb76f8d75bc961c71347ad06eae32632b7 100644 Binary files a/other/cute_checks.docx and b/other/cute_checks.docx differ