Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

CSUGC R Testing Custom functions in R Project

CSUGC R Testing Custom functions in R Project

CSUGC R Testing Custom functions in R Project

Description

Build and Test Five (5) Custom Functions in R

R is a versatile programming language with so many powerful features. One of these features is the ability to define and then use R named pieces of R code called functions. Having a solid R programming skill is essential in data science. It allows us to manage data and perform data modeling and analysis.

In this assignment, you will use R and RStudio to create an R script (*.R) file to build and test five (5) custom functions in R. You will also provide a one-page summary of what you did, an interpretation of the results you obtained, and a reflection on your learning experience.

To prepare for this assignment:

Review the module’s interactive lecture and its references.

To complete this assignment:

Create an R Script (*.R) file to build and test five (5) custom functions in R according to the steps below. Test each function at least four (4) times.

As an example, the following function called addPercent() converts a value into a percentage with one decimal place:

  1. Give the script file a name that includes your first name and last name like this Solution-W6-FirstName-LastName.R:

Write a custom R function that inputs a temperature in Fahrenheit Fo and converts to Celsius Co. The relationship is Co = 5(Fo – 32)/9. Test the function at least four (4) times.

  1. Write a custom R function that computes the sum of squares of two numbers. Test the function at least four (4) times.
  2. Write a custom R that takes any univariate dataset and calculate the mean, minimum, maximum, and standard deviation.  Test the function at least four (4) times.

In statistics, often a dataset needs to be transformed to meet certain assumptions.  Write a custom R function that takes any univariate dataset and creates a boxplot of the raw dataset and a histogram of the square root transformed dataset. Test the function at least four (4) times.

  1. Write a custom R function of your own. Test the function at least four (4) times.
  2. Execute your *.R script file and display the results of its execution in the RStudio console and/or the Plots tabs.
  3. Take screenshots, showing current date and time, to demonstrate successful completion of your work. The screenshot should show the R commands you applied and the results you obtained. Do not capture trial and error results. Only your final results should be captured.
  4. Summarize your work in one page in which you explain what you did, interpret your results, and reflect on your experience:
  5. Explain how you completed this assignment and how you resolved the issues you faced, if any.
  6. Interpret the results you obtained from your actions including comments on the relationship between GDP and USEUR from the scatter plot and an examination of the goodness of fit of your linear regression model.

Reflect on your experience with this assignment and the lessons you learned.

  1. To submit your response to this assignment:
  2. Prepare all the required screenshots.

Prepare your summary of your work (what you did, interpretation of results, and reflection).

Submit one Word document that:

is at least 4-5 pages in length (including a cover page and a reference page, if any references are needed)

  1. Conforms to the CSU Global Guide to Writing and APA (Links to an external site.).

Includes a cover page with the module number and name of the Critical Thinking assignment.

  1. Does not include an abstract.

Includes all screenshots in the same order of execution of your *.R script.

  1. Includes a one-page summary of explanation of what you did, interpretation of results, and reflection. The one-page summary should follow the screenshot and should refer to them individually.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20