OUR BLOG

User-defined Functions – R on Sololearn

Today I practiced R on Sololearn! This time I went over user-defined functions, made by the user with a given syntax and parameters. I also went over default parameters, which provide a default value for a missing parameter, and the difference between parameters and...

Functions – R on Sololearn

Today I practiced R on Sololearn! This time I went over the basics of functions and how to use them. I also went over parameters and the role they play in functions. Next time I will be going over how to make your own functions [video width="864" height="540"...

Break and Next – R on Sololearn

Today I practiced R on Sololearn! I went over the break statement, which allows you to break out of a loop prematurely. I also went over the next statement, which allows you to skip an iteration of the loop. Next time I will be going over functions! [video...

Loops – R on Sololearn

Yesterday I practiced R on Sololearn! This time I went over loops, which allow you to run the same code multiple times while using less code. I also went over the for loop, which iterates over a given sequence. Next time I will be going over the break and next...

Logical Operators – R on Sololearn

Today I practiced R on Sololearn! This time I went over logical operators, which allow you to combine multiple conditions. I also went over the switch statement, which allows you to test an expression against a list of values and make the code shorter. Next time I...

Decision Making – R on Sololearn

Decision Making – R on Sololearn

Today I practiced R on Sololearn! Today I went over basic decision-making with the if statement. I also went over the else and else if statements for when you need to run code if a condition is false. Next time I will be going over using logical operators! [video...

Bug Zero Icon

OUR NEWSLETTER