First basic concept:
Conditional Code Execution
something_wrong <- FALSE
.if-then-else
-block to print a message if
‘something is wrong’ meaning if something_wrong
is True or
False.Useful resources:
First 12 minutes of this video
“Executing Code Conditionally”: https://mircoschoenfeld.de/software-technology-and-applied-programming.html#programming-deep-dive
Second basic concept:
Loops.
for
-loop that runs from 1 to 100.Useful resource: This video
“for-loops”: https://mircoschoenfeld.de/software-technology-and-applied-programming.html#programming-deep-dive
Last basic concept:
Functions.
Useful resource: This video
“Functions accepting parameters”: https://mircoschoenfeld.de/software-technology-and-applied-programming.html#programming-deep-dive