R TutorialLesson 9Free preview
R Math
This lesson is part of R · All levels
Summary
This lesson reviews the very rich mathematical functions inherent in R. Starting with basic operations like square roots, absolute values, displacement, to trigonometry and logarithms. All of these mathematical functions can be applied directly to data vectors efficiently without repetition.
Key points
- The 'sqrt()' function calculates the square root, and 'abs()' calculates the absolute value
- The functionality of the functionality includes 'round()', 'ceiling()', and 'floor()'
- The 'min()' and 'max()' functions look for the lowest and highest extreme values
- Compact statistical functions such as 'sum()' and 'prod()' calculate the total multiplication and multiplication
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.