InstructionsThroughout this course we will be using RStudio as our environment for working with the R programming language.
Before you begin this assignment, make sure that you have reviewed the R videos on this module’s lecture page.
When you are ready to begin, complete the following steps for this module’s R assignment.
Fred is a client who is having difficulty with obsessive behavior. One of his symptoms is excessive handwashing. Fred was asked to keep an account of the number of times he washes his hands daily. The data file in the instructions below contains a count of Fred’s handwashing prior to any interventions (in other words, baseline data).
Use Fred’s baseline data downloadand create a line graph (ABplot()) depicting his baseline washing behavior. Add a median line to depict the median amount of hand cleaning he does daily and label the line. Add a sentence or two describing the line graph and the median that you observe.
As demonstrated in the video, “Entering Data for SSDforR,” enter the data below using a spreadsheet program (Excel, Numbers, etc.). Remember, you will need to save the data as a csv file. Open the file you created using the Getcsv() and create a line graph using ABplot(). Add a mean line to depict the mean amount of times Fred gets out of his seat during sessions and label the line. Add a sentence or two describing the line graph and the mean that you observe.
Determine a behavioral goal for Fred. Would you want to see Fred’s handwashing behavior increase, decrease, or stay the same?
Upload the following by the deadline posted on this page:
A document with the following information:
The graph of Fred’s behavior, including the mean line and the labeled baseline.
A description of observed behaviors.
An explanation of the behavioral goal for Fred
This assignment will be graded on the basis of completion.
For more information on R Programming Language read this:https://en.wikipedia.org/wiki/R_(programming_language)