Answer
+# create function #
+<- function(x) {
+ double_it print(2 * x)
+
+ }
+# try it out #
+# explicit notation
+double_it(x = 24)
+
+# non explicit notation
+double_it(24)
diff --git a/2024-10-coreR/index.html b/2024-10-coreR/index.html index 57870691..37748ef8 100644 --- a/2024-10-coreR/index.html +++ b/2024-10-coreR/index.html @@ -175,7 +175,7 @@