my first post
cool_sequence<-c(1,1,2,3,5,8,13,21,34)
total<-0
for (el in cool_sequence) {
total=total+el
}
print(total)
[1] 88
Distill is a publication format for scientific and technical writing, native to the web.
Learn more about using Distill at https://rstudio.github.io/distill.
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 ...".
For attribution, please cite this work as
Bean (2021, Aug. 10). DACSS 601 August 2021: Zoe's Post. Retrieved from https://mrolfe.github.io/DACSS601August2021/posts/2021-08-10-zoes-post/
BibTeX citation
@misc{bean2021zoe's, author = {Bean, Zoe}, title = {DACSS 601 August 2021: Zoe's Post}, url = {https://mrolfe.github.io/DACSS601August2021/posts/2021-08-10-zoes-post/}, year = {2021} }