Posts

Showing posts from November, 2024

Module # 12 R Markdown

  R Markdown and the LaTeX Mathematical Typesetting Language 1) This week we are going to make a Markdown file in RStudio and then post that code on GitHub. I have decided to focus on a certain topic that helps me in another class about the same topic. Predicting passenger survival on board of the titanic.  2) We are now going to make our R Markdown file, and add some pieces to it rather than just leaving the default options on there. We are then going to look at it on both the source side and the visual side and the complied side. The following is the source side:

Module # 11 Debugging and defensive programming in R

  Seek and Destroy: A Deliberate Bug in R 1) This week I tackle debugging a piece of code in R. Up until now I have only had to really deal with my own bugs, but now I tackle someone else's. This is meant to be like a puzzle which I usually enjoy so lets see how this one goes.  2) The code I was given, and the error it is giving, is shown below:

Module # 10 Building my own R package

  Creating the Tier List Package in RStudio 1) This is now week ten of this course and I am now starting to see the end. This week I tackle creating my very own package in R. This is a very first for me and I am very excited. Based on the title of this blog you can tell that I plan to create a package that allows users to create a tier list in RStudio. This will all take a lot of work, much more than I can do in a single assignment, so the only goal for this week is to create the  DESCRIPTION file for the package. This tell us everything that the package is about and its purposes. Here it is down below: