# print the total payments at the end Functions Create functions that take five arguments and multiplies them according to the type of object they are: Scalar, Vector, Matrix, Plot each of the functions that you have constructed. Deliverables Markdown Documents to include appropriate screenshots (with descriptions). Then, in 250-500 words, explain each control statement and function in your own words. Make sure to address when and why each would be used in data science practices as well as justify your rationale using sound statistical arguments and associated formulas. APA style is not required, but solid academic writing is expected Assessment Description It is essential in data science and related disciplines to understand the most basic decision-making processes in computing as well as to distinguish when, why and how these specific practicesitools should be employed. For example, consider the following scenario of a real-werid case study. Immigration is a controversial topic. Policies are made, enacted, and entorced based upon what the voters want and civil rights. To figure out if a policy is effective such as the Dreamers Act, a firm is hired to conduct a statistical analysis on how well participants are faring in comparison to those not in the program. By using the R programming fundamentals to create an R program, the firm can evaluate the effectiveness of potential policy(s) Practice The exercises below include various aspects of R programing that allow one to perform statistical operations in various applications. Arhough they are unrelated to any one scenario, they are practice examples you can use in your toolbox to evaluate data in a statistical analysis. Read Chapters 5 and 6 in "An Introduction to Statistical Programming Methods with R," located in the topic Resources. Access R Studio. Then, demonstrate how to work with each control statement and function as outlined below. Take appropriate screenshots (with descriptions) as needed. All documentation should be completed with the necessary markdown documents. Lotical Oneraters Choose five logical operators. In a table, write up the following and then execute your example. The Command, The Description, Your Own Example, The Result Selection Operaters Create your own if statement where there are five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the if statement that you created (use correct flowchart symbols). Create your own itlelse statement where there are five Code Blocks (e.g. Code block A, Code block B, etc.) Construct a diagram of the iflelse statement that you created (use correct flowchart symbols). Create your own iflelseifielse statement where there are five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the iffelseitfelse statement that you created (use correct flowchart symbols). Create your own switch condition where there are five statements (e.g. create a story of wearing clothes based upon the weather].