Hello, R!
Welcome to the introductory R course! During this course, you will learn R's basic syntax, operations, and data types.
Unlike many other programming languages, there is no need to use the dedicated function to output values. For example, we can start our R Journey with the most straightforward and basic arithmetic.
In R, you can perform basic arithmetic operations using standard operators. +
for addition, -
for subtraction, *
for multiplication, and /
for division. For example, let's calculate some math expressions.
12312 + 21 32 - 16 10 * 11
Note that each new operation starts on the new line.
Swipe to start coding
Using basic math operations, perform the next calculations:
30 + 24
.50 - 36
.19 * 7
.
Click button below the code to check the solution of this task.
Lösning
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 12.5
Hello, R!
Svep för att visa menyn
Welcome to the introductory R course! During this course, you will learn R's basic syntax, operations, and data types.
Unlike many other programming languages, there is no need to use the dedicated function to output values. For example, we can start our R Journey with the most straightforward and basic arithmetic.
In R, you can perform basic arithmetic operations using standard operators. +
for addition, -
for subtraction, *
for multiplication, and /
for division. For example, let's calculate some math expressions.
12312 + 21 32 - 16 10 * 11
Note that each new operation starts on the new line.
Swipe to start coding
Using basic math operations, perform the next calculations:
30 + 24
.50 - 36
.19 * 7
.
Click button below the code to check the solution of this task.
Lösning
Tack för dina kommentarer!
Awesome!
Completion rate improved to 12.5single