Test Post - Take 3

Basic Math in R

Lenna
1/30/2022

Intro to Calculating Numbers with R

We can do basic math using R.

Here are the operators you’ll need for addition, subtraction, multiplication, and division, respectively: + - * /

We’ll start with addition.

Addition

4+4
[1] 8
3+5
[1] 8

Subtraction

7-4
[1] 3
2-2
[1] 0

Multiplication

2*2
[1] 4
3*5
[1] 15

Division

6/2
[1] 3
9/3
[1] 3

And that, my friends, is the story on doing math (albeit very basic math, with R)!

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Lenna (2022, Feb. 9). Data Analytics and Computational Social Science: Test Post - Take 3. Retrieved from https://github.com/DACSS/dacss_course_website/posts/httpsrpubscomlenna717860481/

BibTeX citation

@misc{lenna2022test,
  author = {Lenna, },
  title = {Data Analytics and Computational Social Science: Test Post - Take 3},
  url = {https://github.com/DACSS/dacss_course_website/posts/httpsrpubscomlenna717860481/},
  year = {2022}
}