Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion exercises/day1part1_R-intro_exercises.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@

# Pick a number; save it as x

x <- 5

# Multiply x by 3



# Take the log of the above (Hint, you need the function log() here)


Expand All @@ -20,13 +22,15 @@
# Square the above



#### Comparisons and Logical Operators ####

# Check if 1 is bigger than 2

1 > 2

# Check if 1 + 1 is equal to 2

1 + 1 == 2

# Check if it is true that the strings "eat" and "drink" are not equal to each other

Expand Down